Table of Contents

Class DynamicColumnInfo

Namespace
LinqToDB.Mapping
Assembly
linq2db.dll

Represents a dynamic column, which doesn't have a backing field in it's declaring type.

public class DynamicColumnInfo : PropertyInfo, ICustomAttributeProvider, IEquatable<DynamicColumnInfo>
Inheritance
DynamicColumnInfo
Implements
Inherited Members
Extension Methods

Constructors

DynamicColumnInfo(Type, Type, string)

Initializes a new instance of the DynamicColumnInfo class.

public DynamicColumnInfo(Type declaringType, Type columnType, string memberName)

Parameters

declaringType Type

Type of the declaring.

columnType Type

Type of the column.

memberName string

Name of the member.

Properties

Attributes

public override PropertyAttributes Attributes { get; }

Property Value

PropertyAttributes

CanRead

public override bool CanRead { get; }

Property Value

bool

CanWrite

public override bool CanWrite { get; }

Property Value

bool

DeclaringType

public override Type DeclaringType { get; }

Property Value

Type

Name

public override string Name { get; }

Property Value

string

PropertyType

public override Type PropertyType { get; }

Property Value

Type

ReflectedType

public override Type ReflectedType { get; }

Property Value

Type

Methods

Equals(DynamicColumnInfo?)

public bool Equals(DynamicColumnInfo? other)

Parameters

other DynamicColumnInfo

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetAccessors(bool)

public override MethodInfo[] GetAccessors(bool nonPublic)

Parameters

nonPublic bool

Returns

MethodInfo[]

GetCustomAttributes(bool)

public override object[] GetCustomAttributes(bool inherit)

Parameters

inherit bool

Returns

object[]

GetCustomAttributes(Type, bool)

public override object[] GetCustomAttributes(Type attributeType, bool inherit)

Parameters

attributeType Type
inherit bool

Returns

object[]

GetCustomAttributesData()

public override IList<CustomAttributeData> GetCustomAttributesData()

Returns

IList<CustomAttributeData>

GetGetMethod(bool)

public override MethodInfo GetGetMethod(bool nonPublic)

Parameters

nonPublic bool

Returns

MethodInfo

GetHashCode()

public override int GetHashCode()

Returns

int

GetIndexParameters()

public override ParameterInfo[] GetIndexParameters()

Returns

ParameterInfo[]

GetSetMethod(bool)

public override MethodInfo GetSetMethod(bool nonPublic)

Parameters

nonPublic bool

Returns

MethodInfo

GetValue(object?, BindingFlags, Binder?, object?[]?, CultureInfo?)

public override object GetValue(object? obj, BindingFlags invokeAttr, Binder? binder, object?[]? index, CultureInfo? culture)

Parameters

obj object
invokeAttr BindingFlags
binder Binder
index object[]
culture CultureInfo

Returns

object

IsDefined(Type, bool)

public override bool IsDefined(Type attributeType, bool inherit)

Parameters

attributeType Type
inherit bool

Returns

bool

SetValue(object?, object?, BindingFlags, Binder?, object?[]?, CultureInfo?)

public override void SetValue(object? obj, object? value, BindingFlags invokeAttr, Binder? binder, object?[]? index, CultureInfo? culture)

Parameters

obj object
value object
invokeAttr BindingFlags
binder Binder
index object[]
culture CultureInfo

Operators

operator ==(DynamicColumnInfo?, DynamicColumnInfo?)

Implements the operator ==.

public static bool operator ==(DynamicColumnInfo? a, DynamicColumnInfo? b)

Parameters

a DynamicColumnInfo

a.

b DynamicColumnInfo

The b.

Returns

bool

The result of the operator.

operator !=(DynamicColumnInfo?, DynamicColumnInfo?)

Implements the operator !=.

public static bool operator !=(DynamicColumnInfo? a, DynamicColumnInfo? b)

Parameters

a DynamicColumnInfo

a.

b DynamicColumnInfo

The b.

Returns

bool

The result of the operator.