private TypeMapper(MappedTypeAttribute attr) { this.Name = attr.Name; this.DefaultValue = attr.DefaultValue; this.IncludeInSynchronization = attr.IncludeInSynchronization; this.IsOptional = attr.IsOptional; this.Precision = attr.Precision; this.Size = attr.Size; this.SqlType = attr.SqlType; }
public TypeMapper(MappedTypeAttribute attr, FieldInfo member) : this(attr) { this.Name = this.Name ?? member.Name; this.SqlType = this.SqlType ?? SqlTypes[member.FieldType]; }
public TypeMapper(MappedTypeAttribute attr, PropertyInfo member) : this(attr) { this.Name = attr.Name ?? member.Name; this.SqlType = this.SqlType ?? SqlTypes[member.PropertyType]; }
protected TypeMapper(MappedTypeAttribute attr, ParameterInfo member) : this(attr) { this.Name = this.Name ?? member.Name; this.SqlType = this.SqlType ?? SqlTypes[member.ParameterType]; }