/// <summary>创建外键</summary> /// <returns></returns> public virtual IDataRelation CreateRelation() { var fk = new XRelation(); fk.Table = this; return(fk); }
/// <summary>克隆</summary> /// <param name="table"></param> /// <returns></returns> public IDataRelation Clone(IDataTable table) { XRelation field = base.MemberwiseClone() as XRelation; field.Table = table; return(field); }
/// <summary>创建外键</summary> /// <returns></returns> public virtual IDataRelation CreateRelation() { var fk = new XRelation(); fk.Table = this; return fk; }