Beispiel #1
0
 public virtual bool Equals(DbType type)
 {
   return type.Id == Id;
 }
Beispiel #2
0
 public DbDictType(DbType key, DbType value)
   : base((sbyte)KnownDbType.Dict, typeof(Dictionary<,>).MakeGenericType(key.Type, value.Type))
 {
   Key = key;
   Value = value;
 }
Beispiel #3
0
 public DbListType(DbType element)
   : base((sbyte)KnownDbType.List, element.Type.MakeArrayType())
 {
   Element = element;
 }
Beispiel #4
0
 public override bool Equals(DbType type)
 {
   return type.Id == Id && ((DbDictType)type).Key.Equals(Key) && ((DbDictType)type).Value.Equals(Value);
 }
Beispiel #5
0
 public override bool Equals(DbType type)
 {
   return type.Id == Id && ((DbListType)type).Element.Equals(Element);
 }