/// <summary> /// Creates and returns a new DBTable reference with the specifed name /// </summary> /// <returns></returns> public static DBTable Table() { DBTableRef tref = new DBTableRef(); tref.Name = string.Empty; return(tref); }
// // static factory methods // #region public static DBTable Table(string name) /// <summary> /// Creates and returns a new DBTable reference with the specifed name /// </summary> /// <param name="name"></param> /// <returns></returns> public static DBTable Table(string name) { if (string.IsNullOrEmpty(name)) { throw new ArgumentNullException("name"); } DBTableRef tref = new DBTableRef(); tref.Name = name; return(tref); }