Class SkipBaseAttribute
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
Methods
GetObjectID()
Returns mapping attribute id, based on all attribute options.
public override string GetObjectID()
Returns
ShouldSkip(object, EntityDescriptor, ColumnDescriptor)
Check if object contains values that should be skipped.
public abstract bool ShouldSkip(object obj, EntityDescriptor entityDescriptor, ColumnDescriptor columnDescriptor)
Parameters
objobjectThe object to check.
entityDescriptorEntityDescriptorThe entity descriptor.
columnDescriptorColumnDescriptorThe column descriptor.
Returns
- bool
trueif object should be skipped for the operation.