コード例 #1
0
 /// <summary>
 /// Create a new FurnitureType object.
 /// </summary>
 /// <param name="furnitureTypeId">Initial value of the FurnitureTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static FurnitureType CreateFurnitureType(global::System.Int32 furnitureTypeId, global::System.String name)
 {
     FurnitureType furnitureType = new FurnitureType();
     furnitureType.FurnitureTypeId = furnitureTypeId;
     furnitureType.Name = name;
     return furnitureType;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FurnitureTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFurnitureTypes(FurnitureType furnitureType)
 {
     base.AddObject("FurnitureTypes", furnitureType);
 }
 public void Add(FurnitureType item)
 {
     throw new NotImplementedException();
 }