PrimaryKeyReferenceTReferencingObject, TReferencedObject Constructor (String, DataAttributeTReferencingObject, NullableGuid, Boolean) |
Namespace:
Aloe.SystemFrameworks.Domain
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic PrimaryKeyReference(
string name,
DataAttribute<TReferencingObject, Nullable<Guid>> referencingAttribute,
bool isOwnership = false
)
Public Sub New (
name As String,
referencingAttribute As DataAttribute(Of TReferencingObject, Nullable(Of Guid)),
Optional isOwnership As Boolean = false
)
public:
PrimaryKeyReference(
String^ name,
DataAttribute<TReferencingObject, Nullable<Guid^>^>^ referencingAttribute,
bool isOwnership = false
)
new :
name : string *
referencingAttribute : DataAttribute<'TReferencingObject, Nullable<Guid>> *
?isOwnership : bool
(* Defaults:
let _isOwnership = defaultArg isOwnership false
*)
-> PrimaryKeyReference
Parameters
- name
- Type: SystemString
Name of the reference. - referencingAttribute
- Type: Aloe.SystemFrameworks.DomainDataAttributeTReferencingObject, NullableGuid
The referencing attribute. - isOwnership (Optional)
- Type: SystemBoolean
if set to true the reference is ownership reference.
See Also