/// <summary> /// Return true if the types match or their base types match /// </summary> /// <returns></returns> public bool TypesEqual(Type t1, Type t2) { var a1 = new Association(t1, t2, null); return(this.Equals(a1)); }
/// <summary> /// Return true if the types match or their base types match /// </summary> /// <returns></returns> public bool TypesEqual(Type t1, Type t2, string[] fkNames) { var a1 = new Association(t1, t2, fkNames); return(this.Equals(a1)); }