RelationOneToManyFrom, To Class |
Namespace: VelocityDb.TypeInfo
[SerializableAttribute] public class RelationOneToMany<From, To> : Relation where From : IOptimizedPersistable where To : IOptimizedPersistable
The RelationOneToManyFrom, To type exposes the following members.
Name | Description | |
---|---|---|
![]() | RelationOneToManyFrom, To |
Creates the relations between From and To objects.
|
Name | Description | |
---|---|---|
![]() | FromFieldName |
Name of field referencing this object from From object
|
![]() | RelatedFrom |
Gets or sets the From object
|
![]() | RelatedTo |
Returns the To objects
|
Name | Description | |
---|---|---|
![]() | AddRelationTo |
Adds a new relations to a To object. Added to "many" collection.
|
![]() | RemoveRelationTo |
Removes relation to a To object. Removed from "many" collection.
|
![]() | Unpersist |
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.
(Overrides OptimizedPersistableUnpersist(SessionBase).) |
Name | Description | |
---|---|---|
![]() | ToStringDetails(SessionBase, Boolean) | Overloaded.
Object details as a string
(Defined by Utilities.) |
![]() | ToStringDetails(Schema, TypeVersion, Boolean) | Overloaded.
Currently only used by Database Manager
(Defined by Utilities.) |