Get the values of the natural id fields as known to the underlying
database, or null if the entity has no natural id or there is no
corresponding row.
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
Object[] GetNaturalIdSnapshot( Object id, IEntityPersister persister ) |
Visual Basic |
---|
Function GetNaturalIdSnapshot ( _ id As Object, _ persister As IEntityPersister _ ) As Object() |
Visual C++ |
---|
array<Object^>^ GetNaturalIdSnapshot( Object^ id, IEntityPersister^ persister ) |
Parameters
- id
- Type: System..::..Object
[Missing <param name="id"/> documentation for "M:NHibernate.Engine.IPersistenceContext.GetNaturalIdSnapshot(System.Object,NHibernate.Persister.Entity.IEntityPersister)"]
- persister
- Type: NHibernate.Persister.Entity..::..IEntityPersister
[Missing <param name="persister"/> documentation for "M:NHibernate.Engine.IPersistenceContext.GetNaturalIdSnapshot(System.Object,NHibernate.Persister.Entity.IEntityPersister)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Engine.IPersistenceContext.GetNaturalIdSnapshot(System.Object,NHibernate.Persister.Entity.IEntityPersister)"]