C# Class EventManagerPro.DBLayer.DomainModels.SubEventModel

Mostra file Open project: sagittaros/EventManagerModel

Public Methods

Method Description
create ( int eventId, int venueId, System.DateTime start, System.DateTime end, string name = "" ) : SubEvent
createObj ( SubEvent e ) : SubEvent
deleteById ( int id ) : void
getAll ( ) : List
getAllByEventID ( int id ) : List
getAllByVenueIDAndTime ( int id, System.DateTime start, System.DateTime end, int eventId ) : List
getByID ( int id ) : SubEvent
update ( int id, int eventId, int venueId, System.DateTime start, System.DateTime end, string name = "" ) : SubEvent
updateObj ( SubEvent e ) : SubEvent

Method Details

create() public static method

public static create ( int eventId, int venueId, System.DateTime start, System.DateTime end, string name = "" ) : SubEvent
eventId int
venueId int
start System.DateTime
end System.DateTime
name string
return SubEvent

createObj() public static method

public static createObj ( SubEvent e ) : SubEvent
e SubEvent
return SubEvent

deleteById() public static method

public static deleteById ( int id ) : void
id int
return void

getAll() public static method

public static getAll ( ) : List
return List

getAllByEventID() public static method

public static getAllByEventID ( int id ) : List
id int
return List

getAllByVenueIDAndTime() public static method

public static getAllByVenueIDAndTime ( int id, System.DateTime start, System.DateTime end, int eventId ) : List
id int
start System.DateTime
end System.DateTime
eventId int
return List

getByID() public static method

public static getByID ( int id ) : SubEvent
id int
return SubEvent

update() public static method

public static update ( int id, int eventId, int venueId, System.DateTime start, System.DateTime end, string name = "" ) : SubEvent
id int
eventId int
venueId int
start System.DateTime
end System.DateTime
name string
return SubEvent

updateObj() public static method

public static updateObj ( SubEvent e ) : SubEvent
e SubEvent
return SubEvent