Class ExtendedPropertyExtensions
Inheritance
System.Object
ExtendedPropertyExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cmc.Nexus.Common
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public static class ExtendedPropertyExtensions
Methods
ExtendedPropertyHasChanged(Entity, String)
Has the value of an extended property changed
Declaration
public static bool ExtendedPropertyHasChanged(this Entity entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Cmc.Core.EntityModel.Entity | entity | Entity |
System.String | propertyName | Extended Property Name |
Returns
Type | Description |
---|---|
System.Boolean | bool |
ExtendedPropertyHasOriginalValue(Entity, String)
Does the extended property have an original value?
Declaration
public static bool ExtendedPropertyHasOriginalValue(this Entity entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Cmc.Core.EntityModel.Entity | entity | Entity |
System.String | propertyName | Extended Property Name |
Returns
Type | Description |
---|---|
System.Boolean | bool |
ExtendedPropertyHasValue(Entity, String)
Does the extended property have any value?
Declaration
public static bool ExtendedPropertyHasValue(this Entity entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Cmc.Core.EntityModel.Entity | entity | Entity |
System.String | propertyName | Extended Property Name |
Returns
Type | Description |
---|---|
System.Boolean | bool |
ExtendedPropertyOriginalValue(Entity, String)
Get Extended Property Origional Value
Declaration
public static object ExtendedPropertyOriginalValue(this Entity entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Cmc.Core.EntityModel.Entity | entity | Entity |
System.String | propertyName | Property Name |
Returns
Type | Description |
---|---|
System.Object | object |
ExtendedPropertyValue(Entity, String)
Get Extended Property Value
Declaration
public static object ExtendedPropertyValue(this Entity entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Cmc.Core.EntityModel.Entity | entity | Entity |
System.String | propertyName | Property Name |
Returns
Type | Description |
---|---|
System.Object | object |
GetExtendedProperty(Entity, String)
Get the extended property
Declaration
public static EntityProperty GetExtendedProperty(this Entity entity, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Cmc.Core.EntityModel.Entity | entity | Entity |
System.String | propertyName | Extended Property Name |
Returns
Type | Description |
---|---|
Cmc.Core.EntityModel.EntityProperty | EntityProperty |