Table of Contents

Class SkipBaseAttribute

Namespace
LinqToDB.Mapping
Assembly
linq2db.dll

Abstract Attribute to be used for skipping values

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = true)]
public abstract class SkipBaseAttribute : MappingAttribute, _Attribute
Inheritance
SkipBaseAttribute
Implements
Derived
Inherited Members
Extension Methods

Properties

Affects

Defines on which method a value should be skipped.

public abstract SkipModification Affects { get; }

Property Value

SkipModification

Methods

GetObjectID()

Returns mapping attribute id, based on all attribute options.

public override string GetObjectID()

Returns

string

ShouldSkip(object, EntityDescriptor, ColumnDescriptor)

Check if object contains values that should be skipped.

public abstract bool ShouldSkip(object obj, EntityDescriptor entityDescriptor, ColumnDescriptor columnDescriptor)

Parameters

obj object

The object to check.

entityDescriptor EntityDescriptor

The entity descriptor.

columnDescriptor ColumnDescriptor

The column descriptor.

Returns

bool

true if object should be skipped for the operation.