Custom object in .net?

Custom object in .net?

Anonymous
Not applicable
785 Views
5 Replies
Message 1 of 6

Custom object in .net?

Anonymous
Not applicable
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?
0 Likes
786 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
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?
0 Likes
Message 3 of 6

Anonymous
Not applicable
A link to that sample would be appreciated.

thanks in advance.
0 Likes
Message 4 of 6

Anonymous
Not applicable
Does anyone know more regarding it...
0 Likes
Message 5 of 6

Anonymous
Not applicable
Is possible develop custom object in c# ?
0 Likes
Message 6 of 6

Anonymous
Not applicable
No.
0 Likes