C# Class Engage.Dnn.Booking.AppointmentType

The type of an Appointment
Afficher le fichier Open project: EngageSoftware/Engage-Booking Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string name ) : AppointmentType

Creates a new appointment type.

Delete ( int appointmentTypeId ) : void

Deletes the specified appointment type id.

Load ( int appointmentTypeId, int moduleId ) : AppointmentType

Gets the appointment type with the given appointmentTypeId.

Save ( int revisingUser, int moduleId ) : void

Saves the appointment type.

Private Methods

Méthode Description
AppointmentType ( ) : System.Data

Prevents a default instance of the AppointmentType class from being created.

Fill ( IDataRecord appointmentTypeRecord ) : AppointmentType

Fills an AppointmentType with the data in the specified appointmentTypeRecord.

Insert ( int revisingUser, int moduleId ) : void

Inserts the appointment type.

Update ( int revisingUser ) : void

Updates the appointment type.

Method Details

Create() public static méthode

Creates a new appointment type.
public static Create ( string name ) : AppointmentType
name string The name of the appointment type.
Résultat AppointmentType

Delete() public static méthode

Deletes the specified appointment type id.
public static Delete ( int appointmentTypeId ) : void
appointmentTypeId int The appointment type id.
Résultat void

Load() public static méthode

Gets the appointment type with the given appointmentTypeId.
public static Load ( int appointmentTypeId, int moduleId ) : AppointmentType
appointmentTypeId int The ID of the appointment type.
moduleId int The module id.
Résultat AppointmentType

Save() public méthode

Saves the appointment type.
public Save ( int revisingUser, int moduleId ) : void
revisingUser int The revising user.
moduleId int The module Id.
Résultat void