Exemplo n.º 1
0
        /// <summary>
        /// Create a new StorageUnit object.
        /// </summary>
        /// <param name="idStorageUnit">Initial value of the IdStorageUnit property.</param>
        public static StorageUnit CreateStorageUnit(global::System.Int32 idStorageUnit)
        {
            StorageUnit storageUnit = new StorageUnit();

            storageUnit.IdStorageUnit = idStorageUnit;
            return(storageUnit);
        }
 /// <summary>
 /// Create a new StorageUnit object.
 /// </summary>
 /// <param name="idStorageUnit">Initial value of the IdStorageUnit property.</param>
 public static StorageUnit CreateStorageUnit(global::System.Int32 idStorageUnit)
 {
     StorageUnit storageUnit = new StorageUnit();
     storageUnit.IdStorageUnit = idStorageUnit;
     return storageUnit;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StorageUnits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStorageUnits(StorageUnit storageUnit)
 {
     base.AddObject("StorageUnits", storageUnit);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the StorageUnits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStorageUnits(StorageUnit storageUnit)
 {
     base.AddObject("StorageUnits", storageUnit);
 }