/// <summary> /// Create a new Pool1 object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="startTime">Initial value of the StartTime property.</param> /// <param name="endTime">Initial value of the EndTime property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Pool1 CreatePool1(global::System.Int32 id, global::System.String name, global::System.DateTime startTime, global::System.DateTime endTime, global::System.Byte[] rowVersion) { Pool1 pool1 = new Pool1(); pool1.Id = id; pool1.Name = name; pool1.StartTime = startTime; pool1.EndTime = endTime; pool1.RowVersion = rowVersion; return pool1; }
/// <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(Pool1 pool1) { base.AddObject("Pools", pool1); }