/// <summary> /// Create a new BedType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> public static BedType CreateBedType(global::System.Int32 id, global::System.String description) { BedType bedType = new BedType(); bedType.Id = id; bedType.Description = description; return bedType; }
/// <summary> /// Deprecated Method for adding a new object to the BedTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBedTypes(BedType bedType) { base.AddObject("BedTypes", bedType); }