.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom object in .net?

5 REPLIES 5
Reply
Message 1 of 6
sbenedetti
359 Views, 5 Replies

Custom object in .net?

Is it possible to inherits from dbobject and/or entity?
I don't know which values I have to pass to the New constructor of dbobject/entity.

I want to develop custom entity with a lot of properties and to make relationship between my custom entity like a relational database.
There's a better way than using XData or Extension Dictionaries?
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: sbenedetti

Custom objects must be developed in C++ and you must use a native C++ class
(i.e., no "__gc class" or "ref class").

You should be able to compile the custom object with the /clr flag which
would allow you do to the bulk of the non-boilerplate code in any .NET
language. I think there is a sample floating around somewhere that does
exactly this.

Dan

wrote in message news:5105286@discussion.autodesk.com...
Is it possible to inherits from dbobject and/or entity?
I don't know which values I have to pass to the New constructor of
dbobject/entity.

I want to develop custom entity with a lot of properties and to make
relationship between my custom entity like a relational database.
There's a better way than using XData or Extension Dictionaries?
Message 3 of 6
saluki
in reply to: sbenedetti

A link to that sample would be appreciated.

thanks in advance.
Message 4 of 6
angen
in reply to: sbenedetti

Does anyone know more regarding it...
Message 5 of 6
blegos
in reply to: sbenedetti

Is possible develop custom object in c# ?
Message 6 of 6
bertyboy
in reply to: sbenedetti

No.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost