.NET

Reply
Contributor
14 Posts
0 Kudos
Registered: ‎01-10-2006
Post 1 of 6

Custom object in .net?

115 Views, 5 Replies
03-08-2006 10:51 AM
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?
*J. Daniel Smith
Post 2 of 6

Re: Custom object in .net?

03-08-2006 11:27 AM 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?
Distinguished Contributor
188 Posts
0 Kudos
Registered: ‎09-18-2005
Post 3 of 6

Re: Custom object in .net?

03-09-2006 09:20 PM in reply to: sbenedetti
A link to that sample would be appreciated.

thanks in advance.
New Member
2 Posts
0 Kudos
Registered: ‎04-24-2006
Post 4 of 6

Re: Custom object in .net?

04-25-2006 12:39 AM in reply to: sbenedetti
Does anyone know more regarding it...
New Member
1 Posts
0 Kudos
Registered: ‎08-22-2006
Post 5 of 6

Re: Custom object in .net?

08-23-2006 08:20 AM in reply to: sbenedetti
Is possible develop custom object in c# ?
Contributor
18 Posts
0 Kudos
Registered: ‎09-25-2007
Post 6 of 6

Re: Custom object in .net?

02-28-2008 08:38 PM in reply to: sbenedetti
No.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post