コード例 #1
0
ファイル: Schemas.cs プロジェクト: e2wugui/zeze
 public bool IsCompatible(Table other, Context context)
 {
     return(Name.Equals(other.Name) &&
            KeyType.IsCompatible(other.KeyType, context,
                                 (bean) =>
     {
         KeyName = bean.Name;
         KeyType = bean;
     },
                                 null) &&
            ValueType.IsCompatible(other.ValueType, context,
                                   (bean) =>
     {
         ValueName = bean.Name;
         ValueType = bean;
     },
                                   null));
 }