/// <summary> /// Deprecated Method for adding a new object to the Pools EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPools(Pool pool) { base.AddObject("Pools", pool); }
/// <summary> /// Create a new Pool object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="poolCapacity">Initial value of the PoolCapacity property.</param> public static Pool CreatePool(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String name, global::System.Int32 poolCapacity) { Pool pool = new Pool(); pool.Id = id; pool.RowVersion = rowVersion; pool.Name = name; pool.PoolCapacity = poolCapacity; return pool; }