コード例 #1
0
        /// <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));
        }
コード例 #2
0
        /// <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));
        }