예제 #1
0
 public TypeMapper(MappedTypeAttribute attr, FieldInfo member)
     : this(attr)
 {
     this.Name = this.Name ?? member.Name;
     this.SqlType = this.SqlType ?? SqlTypes[member.FieldType];
 }
예제 #2
0
 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;
 }
예제 #3
0
 public TypeMapper(MappedTypeAttribute attr, PropertyInfo member)
     : this(attr)
 {
     this.Name = attr.Name ?? member.Name;
     this.SqlType = this.SqlType ?? SqlTypes[member.PropertyType];
 }
예제 #4
0
 protected TypeMapper(MappedTypeAttribute attr, ParameterInfo member)
     : this(attr)
 {
     this.Name = this.Name ?? member.Name;
     this.SqlType = this.SqlType ?? SqlTypes[member.ParameterType];
 }