Class DefaultRefPropertiesProvider
A default reference properties provider.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Analysis
Assembly: Kephas.Data.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultRefPropertiesProvider : IRefPropertiesProvider
Methods
| Improve this Doc View SourceComputeRefProperties(ITypeInfo)
Enumerates compute reference properties in this collection.
Declaration
protected virtual IEnumerable<IPropertyInfo> ComputeRefProperties(ITypeInfo typeInfo)
Parameters
Type | Name | Description |
---|---|---|
ITypeInfo | typeInfo | Information describing the type. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IPropertyInfo> | An enumerator that allows foreach to be used to process compute reference properties in this collection. |
GetRefProperties(Object)
Gets the reference properties of the provided entity.
Declaration
public IEnumerable<IRef> GetRefProperties(object entity)
Parameters
Type | Name | Description |
---|---|---|
System.Object | entity | The entity. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IRef> | An enumeration of reference properties. |
IsRefProperty(IPropertyInfo)
Query if 'propertyInfo' is reference property.
Declaration
protected virtual bool IsRefProperty(IPropertyInfo propertyInfo)
Parameters
Type | Name | Description |
---|---|---|
IPropertyInfo | propertyInfo | Information describing the property. |
Returns
Type | Description |
---|---|
System.Boolean | True if reference property, false if not. |