Creates a new instance of a persistent type in this DataDomain. The transaction context of the active Context in the calling thread is used for the operation.
An unbound proxy to the newly created persistent object.
| Exception Type | Condition |
|---|---|
| GenomeException | The calling thread does not have an active Context. |
| GenomeException | Thrown if type does not denote a persistent type in the DataDomainSchema of this DataDomain. |
| SchemaException | Thrown if type does not denote a concrete type (but an abstract class). or if any of the fields participating in the identity strategy of type defined by the DataDomainSchema of this DataDomain are a null reference. |
Namespace: TechTalk.Genome
Assembly: TechTalk.Genome (in TechTalk.Genome.dll)
Version: 4.2.4.4
Editions: Professional, Evaluation, Express
IDataDomain Interface | TechTalk.Genome Namespace | IDataDomain.New<T> Overload List | Context.Current