/// <summary> /// Create a new WhoIsOnline object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="dateTimeStamp">Initial value of the DateTimeStamp property.</param> /// <param name="ipAddress">Initial value of the IpAddress property.</param> /// <param name="forceLogOut">Initial value of the ForceLogOut property.</param> public static WhoIsOnline CreateWhoIsOnline(global::System.Int32 id, global::System.Int32 userId, global::System.DateTime dateTimeStamp, global::System.String ipAddress, global::System.Boolean forceLogOut) { WhoIsOnline whoIsOnline = new WhoIsOnline(); whoIsOnline.Id = id; whoIsOnline.UserId = userId; whoIsOnline.DateTimeStamp = dateTimeStamp; whoIsOnline.IpAddress = ipAddress; whoIsOnline.ForceLogOut = forceLogOut; return whoIsOnline; }
/// <summary> /// Deprecated Method for adding a new object to the WhoIsOnlines EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWhoIsOnlines(WhoIsOnline whoIsOnline) { base.AddObject("WhoIsOnlines", whoIsOnline); }