Show / Hide Table of Contents

Class DefaultRefPropertiesProvider

A default reference properties provider.

Inheritance
System.Object
DefaultRefPropertiesProvider
ModelRefPropertiesProvider
Implements
IRefPropertiesProvider
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 Source

ComputeRefProperties(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IRefPropertiesProvider

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX