/// <summary> /// Create a new Away object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="clientDatabaseId">Initial value of the ClientDatabaseId property.</param> /// <param name="lastChannelId">Initial value of the LastChannelId property.</param> /// <param name="creation">Initial value of the Creation property.</param> public static Away CreateAway(global::System.Guid id, global::System.Int32 clientDatabaseId, global::System.Int32 lastChannelId, global::System.DateTime creation) { Away away = new Away(); away.Id = id; away.ClientDatabaseId = clientDatabaseId; away.LastChannelId = lastChannelId; away.Creation = creation; return(away); }
/// <summary> /// Deprecated Method for adding a new object to the Away EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAway(Away away) { base.AddObject("Away", away); }