Esempio n. 1
0
        /// <summary>
        /// Create a new PreviousServerGroup object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="clientDatabaseId">Initial value of the ClientDatabaseId property.</param>
        /// <param name="serverGroup">Initial value of the ServerGroup property.</param>
        /// <param name="creation">Initial value of the Creation property.</param>
        public static PreviousServerGroup CreatePreviousServerGroup(global::System.Guid id, global::System.Int32 clientDatabaseId, global::System.Int32 serverGroup, global::System.DateTime creation)
        {
            PreviousServerGroup previousServerGroup = new PreviousServerGroup();

            previousServerGroup.Id = id;
            previousServerGroup.ClientDatabaseId = clientDatabaseId;
            previousServerGroup.ServerGroup      = serverGroup;
            previousServerGroup.Creation         = creation;
            return(previousServerGroup);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PreviousServerGroup EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPreviousServerGroup(PreviousServerGroup previousServerGroup)
 {
     base.AddObject("PreviousServerGroup", previousServerGroup);
 }