/// <summary> /// Create a new MeterCategory object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static MeterCategory CreateMeterCategory(global::System.Int32 id, global::System.Int32 isDeleted) { MeterCategory meterCategory = new MeterCategory(); meterCategory.ID = id; meterCategory.IsDeleted = isDeleted; return meterCategory; }
/// <summary> /// Deprecated Method for adding a new object to the MeterCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMeterCategories(MeterCategory meterCategory) { base.AddObject("MeterCategories", meterCategory); }