DomainObjectExtensions Class |
Namespace: Aloe.SystemFrameworks.Domain.Extensions
The DomainObjectExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CheckNotNullTObject, TResult |
Checks whether the specified attribute is not null. Throws exception if the attribute is null.
|
![]() ![]() | GetAttributeTObject, TResult |
Gets the backing data attribute of the member, specified in the expression. The expression should be in the format 's => s.Member'.
|
![]() ![]() | GetAttributeValueTObject, TResult |
Gets an AttributeValueTValue of a domain object property. The property should be specified as expression in the format 's => s.Property'.
|
![]() ![]() | GetMemberNameOrDefaultTObject, TResult |
Gets the name of the member, denoted by the member expression or null if the member is not found.
|
![]() ![]() | GetReferenceOrDefaultTObject, TResult |
Gets the backing reference of the member, specified in the expression. The expression should be in the format 's => s.Member'.
|
![]() ![]() | GetValueOrDefaultTObject, TResult |
Gets a nullable value for domain object properties, which are based on a non-nullable data attributes. The expression should be in the format 's => s.Property'.
|
![]() ![]() | HasValueTObject, TResult |
Determines whether the specified domain object property has value. The expression should be in the format 's => s.Property'.
|
![]() ![]() | IsNullTObject, TResult |
Determines whether the specified domain object property does not have a value. The expression should be in the format 's => s.Property'.
|
![]() ![]() | SetDefaultTObject, TResult |
Sets the value of the specified member to its default value.
|