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
obj
objectThe object to check.
entityDescriptor
EntityDescriptorThe entity descriptor.
columnDescriptor
ColumnDescriptorThe column descriptor.
Returns
- bool
true
if object should be skipped for the operation.