Property​Extensions Property​Extensions Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static class PropertyExtensionsPublic Module PropertyExtensions
Inheritance
System.ObjectSystem.Object
PropertyExtensionsPropertyExtensions

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

AsProperty(IProperty, String) AsProperty(IProperty, String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static Property AsProperty(this IProperty property, string methodName = "")<ExtensionAttribute>
Public Shared Function AsProperty(property As IProperty, methodName As String = "") As 
Parameters
property
IProperty IProperty
methodName
System.String System.String
Returns

FindPrincipal(IProperty) FindPrincipal(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static IProperty FindPrincipal(this IProperty property)<ExtensionAttribute>
Public Shared Function FindPrincipal(property As IProperty) As IProperty
Parameters
property
IProperty IProperty
Returns

GetContainingEntityTypes(IProperty) GetContainingEntityTypes(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static IEnumerable<IEntityType> GetContainingEntityTypes(this IProperty property)<ExtensionAttribute>
Public Shared Function GetContainingEntityTypes(property As IProperty) As IEnumerable(Of IEntityType)
Parameters
property
IProperty IProperty
Returns
System.Collections.Generic.IEnumerable<IEntityType> System.Collections.Generic.IEnumerable(Of IEntityType)

GetGenerationProperty(IProperty) GetGenerationProperty(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static IProperty GetGenerationProperty(this IProperty property)<ExtensionAttribute>
Public Shared Function GetGenerationProperty(property As IProperty) As IProperty
Parameters
property
IProperty IProperty
Returns

GetOriginalValueIndex(IProperty) GetOriginalValueIndex(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static int GetOriginalValueIndex(this IProperty property)<ExtensionAttribute>
Public Shared Function GetOriginalValueIndex(property As IProperty) As Integer
Parameters
property
IProperty IProperty
Returns
System.Int32 System.Int32

GetReferencingForeignKeys(IProperty) GetReferencingForeignKeys(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static IEnumerable<IForeignKey> GetReferencingForeignKeys(this IProperty property)<ExtensionAttribute>
Public Shared Function GetReferencingForeignKeys(property As IProperty) As IEnumerable(Of IForeignKey)
Parameters
property
IProperty IProperty
Returns
System.Collections.Generic.IEnumerable<IForeignKey> System.Collections.Generic.IEnumerable(Of IForeignKey)

IsKeyOrForeignKey(IProperty) IsKeyOrForeignKey(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool IsKeyOrForeignKey(this IProperty property)<ExtensionAttribute>
Public Shared Function IsKeyOrForeignKey(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

MayBeStoreGenerated(IProperty) MayBeStoreGenerated(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool MayBeStoreGenerated(this IProperty property)<ExtensionAttribute>
Public Shared Function MayBeStoreGenerated(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

RequiresOriginalValue(IProperty) RequiresOriginalValue(IProperty)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static bool RequiresOriginalValue(this IProperty property)<ExtensionAttribute>
Public Shared Function RequiresOriginalValue(property As IProperty) As Boolean
Parameters
property
IProperty IProperty
Returns
System.Boolean System.Boolean

ToDebugString(IProperty, Boolean, String) ToDebugString(IProperty, Boolean, String)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public static string ToDebugString(this IProperty property, bool singleLine = true, string indent = "")<ExtensionAttribute>
Public Shared Function ToDebugString(property As IProperty, singleLine As Boolean = True, indent As String = "") As String
Parameters
property
IProperty IProperty
singleLine
System.Boolean System.Boolean
indent
System.String System.String
Returns
System.String System.String