/// <summary>
            /// Static constructor.
            /// </summary>
            static AppointmentWithLocation()
            {
                CustomAppointmentSchema = NSchema.Create(typeof(AppointmentWithLocation), NAppointmentSchema);

                // Properties
                LocationProperty = CustomAppointmentSchema.AddSlot("Location", NDomType.String, defaultLocation);

                // Designer
                CustomAppointmentSchema.SetMetaUnit(new NDesignerMetaUnit(typeof(CustomAppointmentDesigner)));
            }
            static CustomAppointment()
            {
                CustomAppointmentSchema = NSchema.Create(typeof(CustomAppointment), NAppointment.NAppointmentSchema);

                // Properties
                CustomTextProperty = CustomAppointmentSchema.AddSlot("CustomText", NDomType.String, null);

                // Set designer
                CustomAppointmentSchema.SetMetaUnit(new NDesignerMetaUnit(typeof(CustomAppointmentDesigner)));
            }