C# Class EventManagerPro.Models.SubEventModel

Model class for SubEvents.
Inheritance: BaseModel, IDataErrorInfo
ファイルを表示 Open project: sagittaros/EventManagerModel Class Usage Examples

Public Methods

Method Description
NameIsValid ( string value ) : bool

Checks if the input for Name property is valid.

SubEventModel ( ) : System

Initializes a new instance of the SubEventModel class.

SubEventModel ( EventManagerPro.DBLayer s ) : System

Initializes a new instance of the SubEventModel class.

VenueIsValid ( int value ) : bool

Checks if the input for VenueId property is valid.

this ( string propertyName ) : string

Method Details

NameIsValid() public method

Checks if the input for Name property is valid.
public NameIsValid ( string value ) : bool
value string Name to be updated.
return bool

SubEventModel() public method

Initializes a new instance of the SubEventModel class.
public SubEventModel ( ) : System
return System

SubEventModel() public method

Initializes a new instance of the SubEventModel class.
public SubEventModel ( EventManagerPro.DBLayer s ) : System
s EventManagerPro.DBLayer SubEvent database entity object.
return System

VenueIsValid() public method

Checks if the input for VenueId property is valid.
public VenueIsValid ( int value ) : bool
value int VenueId to be updated.
return bool

this() public method

public this ( string propertyName ) : string
propertyName string
return string