public static IEnumerable <string> GetItemTypes() { var reader = InventoryDb.GetItemTypes().CreateDataReader(); while (reader.Read()) { yield return(reader["TypeName"].ToString()); } reader.Close(); }
public static IEnumerable <string> GetItemTypes() { var reader = InventoryDb.GetItemTypes().CreateDataReader(); while (reader.Read()) { yield return(reader["TypeName"].ToString()); } reader.Close(); }