コード例 #1
0
		public IExceptionOccurrence CreateNew()
		{
			var excOcc = new SqlExceptionOccurrence();
			excOcc.SqlAppointment = this.MasterAppointment;
			ScheduleViewRepository.Context.AddToSqlExceptionOccurrences(excOcc);
			return excOcc;
		}
コード例 #2
0
        public IExceptionOccurrence Copy()
        {
            var exception = new SqlExceptionOccurrence();

            exception.CopyFrom(this);
            return(exception);
        }
コード例 #3
0
ファイル: SqlRecurrenceRule.cs プロジェクト: wlatif/xaml-sdk
        public IExceptionOccurrence CreateNew()
        {
            var excOcc = new SqlExceptionOccurrence();

            excOcc.SqlAppointment = this.MasterAppointment;
            ScheduleViewRepository.Context.AddToSqlExceptionOccurrences(excOcc);
            return(excOcc);
        }
コード例 #4
0
		public IExceptionOccurrence Copy()
		{
			var exception = new SqlExceptionOccurrence();
			exception.CopyFrom(this);
			return exception;
		}
コード例 #5
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SqlExceptionOccurrences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSqlExceptionOccurrences(SqlExceptionOccurrence sqlExceptionOccurrence)
 {
     base.AddObject("SqlExceptionOccurrences", sqlExceptionOccurrence);
 }
コード例 #6
0
 /// <summary>
 /// Create a new SqlExceptionOccurrence object.
 /// </summary>
 /// <param name="exceptionId">Initial value of the ExceptionId property.</param>
 /// <param name="masterSqlAppointmentId">Initial value of the MasterSqlAppointmentId property.</param>
 /// <param name="exceptionDate">Initial value of the ExceptionDate property.</param>
 public static SqlExceptionOccurrence CreateSqlExceptionOccurrence(global::System.Int32 exceptionId, global::System.Int32 masterSqlAppointmentId, global::System.DateTime exceptionDate)
 {
     SqlExceptionOccurrence sqlExceptionOccurrence = new SqlExceptionOccurrence();
     sqlExceptionOccurrence.ExceptionId = exceptionId;
     sqlExceptionOccurrence.MasterSqlAppointmentId = masterSqlAppointmentId;
     sqlExceptionOccurrence.ExceptionDate = exceptionDate;
     return sqlExceptionOccurrence;
 }