Ejemplo n.º 1
0
 public bool Matches(DbTypeInfo other)
 {
     if (other == null)
     {
         return(false);
     }
     if (other == this)
     {
         return(true);
     }
     return(other.TypeDef == this.TypeDef && other.ClrType == this.ClrType &&
            other.Size == this.Size && other.Precision == this.Precision && other.Scale == this.Scale);
 }
Ejemplo n.º 2
0
 public virtual DbValueConverter GetDbValueConverter(DbTypeInfo typeInfo, EntityMemberInfo member)
 {
     return(this.GetDbValueConverter(typeInfo.ColumnOutType, member.DataType));
 }