Пример #1
0
 /// <summary>
 /// Create a new ShoeDescription object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="shoeDetails">Initial value of the ShoeDetails property.</param>
 /// <param name="shoeShort">Initial value of the ShoeShort property.</param>
 /// <param name="shoeType">Initial value of the ShoeType property.</param>
 public static ShoeDescription CreateShoeDescription(global::System.Int32 id, global::System.String shoeDetails, global::System.String shoeShort, global::System.String shoeType)
 {
     ShoeDescription shoeDescription = new ShoeDescription();
     shoeDescription.Id = id;
     shoeDescription.ShoeDetails = shoeDetails;
     shoeDescription.ShoeShort = shoeShort;
     shoeDescription.ShoeType = shoeType;
     return shoeDescription;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShoeDescriptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShoeDescriptions(ShoeDescription shoeDescription)
 {
     base.AddObject("ShoeDescriptions", shoeDescription);
 }