Class EntityObjectPropertyCollection
Inheritance
System.Object
EntityObjectPropertyCollection
Namespace: Mediachase.BusinessFoundation.Data.Business
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0Syntax
public class EntityObjectPropertyCollection : Collection<EntityObjectProperty>
Constructors
EntityObjectPropertyCollection()
Initializes a new instance of the Entity
Declaration
public EntityObjectPropertyCollection()
Properties
Item[String]
Gets or sets the System.
Declaration
public EntityObjectProperty this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System. |
name |
Property Value
Type | Description |
---|---|
Entity |
Methods
Add(String, Object)
Adds the specified name.
Declaration
public void Add(string name, object value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
System. |
value | The value. |
AddRange(EntityObjectProperty[])
Adds the range.
Declaration
public void AddRange(params EntityObjectProperty[] properties)
Parameters
Type | Name | Description |
---|---|---|
Entity |
properties | The properties. |
Contains(String)
Determines whether [contains] [the specified name].
Declaration
public bool Contains(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
Returns
Type | Description |
---|---|
System. |
|
GetValue(String)
Gets the value.
Declaration
public virtual object GetValue(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
Returns
Type | Description |
---|---|
System. |
GetValue<T>(String)
Gets the value.
Declaration
public T GetValue<T>(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
GetValue<T>(String, T)
Gets the value.
Declaration
public T GetValue<T>(string name, T defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
T | defaultValue | The default value. |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Remove(String)
Removes the specified name.
Declaration
public void Remove(string name)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |