public static _Test1_[] LoadList() { _Test1_ t = new _Test1_(); DataTable tempTable = t.LoadDataList(); _Test1_[] result = new _Test1_[tempTable.Rows.Count]; for (int i = 0; i < result.Length; i++) { result[i] = new _Test1_(); result[i].Postload(tempTable, i); } return result; }
public static _Test1_ Get(int Id) { _Test1_ temp = new _Test1_(Id); return temp; }