Hi,
i'm trying to make an entity (call it subentity), which inherits from another (superentity) that already exists.
Say i have an entity "User", already stored in database and i what to create an entity "FormsDesigner", which inherits from "User". The identifier for "User" is an ID, an auto generated integer, which is the foreign key of "FormsDesigner". When i try to create a new "FormsDesigner" with the same ID of "User", it tries to create another "User" with the same ID, so no can do.
Something like this
UserEntity user = new UserEntity(id);
FormsDesignerEntity forms = new FormsDesignerEntity();
forms.userId = user.Id;
forms.Save();
What i'm trying to say is that the "User" that already exists is now a "FormsDesigner". How do i do this?