/// <summary> /// Deprecated Method for adding a new object to the Clothes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClothes(Cloth cloth) { base.AddObject("Clothes", cloth); }
/// <summary> /// Create a new Cloth object. /// </summary> /// <param name="clothesId">Initial value of the ClothesId property.</param> public static Cloth CreateCloth(global::System.Int32 clothesId) { Cloth cloth = new Cloth(); cloth.ClothesId = clothesId; return cloth; }