C# Class Engage.Survey.Entities.SurveyModelDataContext

SurveyModelDataContext class
Show file Open project: EngageSoftware/Engage-Survey Class Usage Examples

Public Methods

Method Description
SurveyModelDataContext ( System connection ) : System.Data.Linq
SurveyModelDataContext ( System connection, System mappingSource ) : System.Data.Linq
SurveyModelDataContext ( string connection ) : System.Data.Linq
SurveyModelDataContext ( string connection, System mappingSource ) : System.Data.Linq

Private Methods

Method Description
DeleteAnswer ( Answer instance ) : void
DeleteQuestion ( Question instance ) : void
DeleteResponse ( Response instance ) : void
DeleteResponseHeader ( ResponseHeader instance ) : void
DeleteSection ( Section instance ) : void
DeleteSurvey ( Survey instance ) : void
InsertAnswer ( Answer instance ) : void
InsertQuestion ( Question instance ) : void
InsertResponse ( Response instance ) : void
InsertResponseHeader ( ResponseHeader instance ) : void
InsertSection ( Section instance ) : void
InsertSurvey ( Survey instance ) : void
OnCreated ( ) : void
UpdateAnswer ( Answer instance ) : void
UpdateQuestion ( Question instance ) : void
UpdateQuestionRequiredMessage ( Question instance ) : void

Updates the given Question instance's Question.RequiredMessage.

UpdateResponse ( Response instance ) : void
UpdateResponseHeader ( ResponseHeader instance ) : void
UpdateSection ( Section instance ) : void
UpdateSurvey ( Survey instance ) : void

Method Details

SurveyModelDataContext() public method

public SurveyModelDataContext ( System connection ) : System.Data.Linq
connection System
return System.Data.Linq

SurveyModelDataContext() public method

public SurveyModelDataContext ( System connection, System mappingSource ) : System.Data.Linq
connection System
mappingSource System
return System.Data.Linq

SurveyModelDataContext() public method

public SurveyModelDataContext ( string connection ) : System.Data.Linq
connection string
return System.Data.Linq

SurveyModelDataContext() public method

public SurveyModelDataContext ( string connection, System mappingSource ) : System.Data.Linq
connection string
mappingSource System
return System.Data.Linq