public IAppointment Copy() { IAppointment appointment = new SqlExceptionAppointment(); appointment.CopyFrom(this); return(appointment); }
public IAppointment ShallowCopy() { var appointment = new SqlExceptionAppointment(); appointment.CopyFrom(this); return(appointment); }
/// <summary> /// Deprecated Method for adding a new object to the SqlExceptionAppointments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSqlExceptionAppointments(SqlExceptionAppointment sqlExceptionAppointment) { base.AddObject("SqlExceptionAppointments", sqlExceptionAppointment); }
/// <summary> /// Create a new SqlExceptionAppointment object. /// </summary> /// <param name="exceptionId">Initial value of the ExceptionId property.</param> /// <param name="start">Initial value of the Start property.</param> /// <param name="end">Initial value of the End property.</param> /// <param name="isAllDayEvent">Initial value of the IsAllDayEvent property.</param> /// <param name="importance">Initial value of the Importance property.</param> public static SqlExceptionAppointment CreateSqlExceptionAppointment(global::System.Int32 exceptionId, global::System.DateTime start, global::System.DateTime end, global::System.Boolean isAllDayEvent, global::System.Int32 importance) { SqlExceptionAppointment sqlExceptionAppointment = new SqlExceptionAppointment(); sqlExceptionAppointment.ExceptionId = exceptionId; sqlExceptionAppointment.Start = start; sqlExceptionAppointment.End = end; sqlExceptionAppointment.IsAllDayEvent = isAllDayEvent; sqlExceptionAppointment.Importance = importance; return sqlExceptionAppointment; }