GuidWeakReferenceStruct Structure

Struct for persisting reference to persistent object (or persistent domain component) with Guid as Oid If works with XPO only (i.e. EF and other ORM are not supported)

Namespace: Xafari.DC
Assembly: Xafari (in Xafari.dll)

  • c#
  • VB

[Serializable()] public struct GuidWeakReferenceStruct : ISerializable

<Serializable> _
Public Structure GuidWeakReferenceStruct
  Implements ISerializable
End Structure

Name Description
msdn2017/pubmethod GuidWeakReferenceStruct(SerializationInfo, StreamingContext) Serialization constructor
msdn2017/pubmethod GuidWeakReferenceStruct(Session, object) Constructor for WeakReferenceStruct
Top
Name Description
msdn2017/pubproperty Id Key of target persistent object
msdn2017/pubproperty TypeId Id for TargetXPObjectType persistance of target persistent object i.e. TargetType=TargetXPObjectType.Oid or 0 (if TargetXPObjectType==null); Column name was not changed for compatiblity with older DBs To obtain XPObjectType please use explicit extension methods TargetType.GetXPObjectType(session) or TargetType=XPObjectType.SafeGetId() declared in Xafari.Internal")]
Top
Name Description
msdn2017/pubmethod msdn2017/static GetCriteriaEqualsTo(Session, object, string)
msdn2017/pubmethod GetObject(IObjectSpace, bool, bool) Get object from WeakReferenceStruct
msdn2017/pubmethod GetObject(Session) Get object from WeakReferenceStruct
msdn2017/pubmethod GetObject<T>(IObjectSpace) Get object from WeakReferenceStruct
msdn2017/pubmethod msdn2017/static SetObject(object, Session) Create WeakReferenceStruct for persistent object
Top

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1