示例#1
0
        public PRCDocument(PRCDocumentType type)
        {
            this.Type = type;


            this.MainDataTable      = new DataTable();
            this.SecondaryDataTable = new DataTable();

            //set the correct server path

            //set the correct document path

            //depending on type, set table name
        }
        public PRCDocument(PRCDocumentType type)
        {
            this.Type = type;
            

            this.MainDataTable = new DataTable();
            this.SecondaryDataTable = new DataTable();

            //set the correct server path

            //set the correct document path

            //depending on type, set table name 
        }
示例#3
0
        public PRCDocument(Customer customer, PRCDocumentType type, Booking booking = null, BookingExtraSelection bookingExtraSelection = null)
        {
            this.Type = type;

            this.MainDataTable      = new DataTable();
            this.SecondaryDataTable = new DataTable();

            this.CustomerID = customer.CustomerID;
            if (booking != null)
            {
                BookingID = booking.BookingID;
            }
            if (bookingExtraSelection != null)
            {
                this.BookingExtraSelectionID = bookingExtraSelection.BookingExtraSelectionID;
            }
        }
        public PRCDocument(Customer customer, PRCDocumentType type, Booking booking = null, BookingExtraSelection  bookingExtraSelection = null)
        {
            this.Type = type;

            this.MainDataTable = new DataTable();
            this.SecondaryDataTable = new DataTable();

            this.CustomerID = customer.CustomerID;
            if(booking != null)
            {
                BookingID = booking.BookingID;
            }
            if(bookingExtraSelection != null)
            {
                this.BookingExtraSelectionID = bookingExtraSelection.BookingExtraSelectionID;
            }

        }