/// <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;
/// <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;
/// <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;