EntityProperty Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class for storing information about a single property in an entity in a table.
public sealed class EntityProperty : IEquatable<Microsoft.Azure.Cosmos.Table.EntityProperty>
type EntityProperty = class
interface IEquatable<EntityProperty>
Public NotInheritable Class EntityProperty
Implements IEquatable(Of EntityProperty)
- Inheritance
-
EntityProperty
- Implements
Constructors
EntityProperty(Byte[]) |
Initializes a new instance of the EntityProperty class by using the byte array value of the property. |
EntityProperty(Nullable<Boolean>) |
Initializes a new instance of the EntityProperty class by using the Boolean value of the property. |
EntityProperty(Nullable<DateTime>) |
Initializes a new instance of the EntityProperty class by using the DateTime value of the property. |
EntityProperty(Nullable<DateTimeOffset>) |
Initializes a new instance of the EntityProperty class by using the DateTimeOffset value of the property. |
EntityProperty(Nullable<Double>) |
Initializes a new instance of the EntityProperty class by using the Double value of the property. |
EntityProperty(Nullable<Guid>) |
Initializes a new instance of the EntityProperty class by using the Guid value of the property. |
EntityProperty(Nullable<Int32>) |
Initializes a new instance of the EntityProperty class by using the Int32 value of the property. |
EntityProperty(Nullable<Int64>) |
Initializes a new instance of the EntityProperty class by using the Int64 value of the property. |
EntityProperty(String) |
Initializes a new instance of the EntityProperty class by using the String value of the property. |
Properties
BinaryValue |
Gets or sets the byte array value of this EntityProperty object. |
BooleanValue |
Gets or sets the boolean value of this EntityProperty object. |
DateTime |
Gets or sets the DateTime value of this EntityProperty object. An exception will be thrown if you attempt to set this property to anything other than a DateTime object. |
DateTimeOffsetValue |
Gets or sets the DateTimeOffset value of this EntityProperty object. |
DoubleValue |
Gets or sets the double value of this EntityProperty object. |
GuidValue |
Gets or sets the Guid value of this EntityProperty object. |
Int32Value |
Gets or sets the Int32 value of this EntityProperty object. |
Int64Value |
Gets or sets the Int64 value of this EntityProperty object. |
PropertyAsObject |
Gets the EntityProperty as a generic object. |
PropertyType |
Gets the EdmType of this EntityProperty object. |
StringValue |
Gets or sets the string value of this EntityProperty object. |
Methods
CreateEntityPropertyFromObject(Object) |
Creates an EntityProperty from the specified object. |
Equals(EntityProperty) |
Compares the given object (which is probably an EntityProperty) for equality with this object. |
Equals(Object) |
Compares the given object (which is probably an EntityProperty) for equality with this object. |
GeneratePropertyForBool(Nullable<Boolean>) |
Creates a new EntityProperty object that represents the specified Boolean value. |
GeneratePropertyForByteArray(Byte[]) |
Creates a new EntityProperty object that represents the specified byte array. |
GeneratePropertyForDateTimeOffset(Nullable<DateTimeOffset>) |
Creates a new EntityProperty object that represents the specified DateTimeOffset value. |
GeneratePropertyForDouble(Nullable<Double>) |
Creates a new EntityProperty object that represents the specified Double value. |
GeneratePropertyForGuid(Nullable<Guid>) |
Creates a new EntityProperty object that represents the specified Guid value. |
GeneratePropertyForInt(Nullable<Int32>) |
Creates a new EntityProperty object that represents the specified Int32 value. |
GeneratePropertyForLong(Nullable<Int64>) |
Creates a new EntityProperty object that represents the specified Int64 value. |
GeneratePropertyForString(String) |
Creates a new EntityProperty object that represents the specified String value. |
GetHashCode() |
Gets the hash code for this entity property. |
ToString() |
Serializes EntityProperty to string based on its type |