예제 #1
0
 /// <summary>
 /// Get all columns from a Table
 /// </summary>
 /// <param name="standardId">Catalog standardId</param>
 /// <returns></returns>
 public static DataColumnCollection GetColumns(int standardId) => CatPartSrv.GetTable(standardId).GetData().Columns;
예제 #2
0
 /// <summary>
 /// Get all columns from a Table
 /// </summary>
 /// <param name="tableName">Catalog TableName</param>
 /// <returns></returns>
 public static DataColumnCollection GetColumns(string tableName) => CatPartSrv.GetTable(tableName).GetData().Columns;
예제 #3
0
 /// <summary>
 /// Get all columns from a Table
 /// </summary>
 /// <param name="si">StandardItem which contains the standardId</param>
 /// <returns></returns>
 public static DataColumnCollection GetColumns(StandardItem si) => CatPartSrv.GetTable(si.StandardId).GetData().Columns;