C# Class Serenity.Testing.DbScript

Show file Open project: volkanceylan/Serenity Class Usage Examples

Public Methods

Method Description
Add ( SqlInsert statement ) : void
Add ( SqlUpdate statement ) : void
AddResourceScript ( string resourceName ) : void
AddScript ( string scriptText ) : void
DbScript ( ) : Serenity.Data
GetResourceScript ( string resourceName, Assembly assembly = null ) : string
ToString ( ) : string

Private Methods

Method Description
AddCommandWithParameters ( string commandText, object>.IDictionary parameters ) : void

Method Details

Add() public method

public Add ( SqlInsert statement ) : void
statement Serenity.Data.SqlInsert
return void

Add() public method

public Add ( SqlUpdate statement ) : void
statement Serenity.Data.SqlUpdate
return void

AddResourceScript() public method

public AddResourceScript ( string resourceName ) : void
resourceName string
return void

AddScript() public method

public AddScript ( string scriptText ) : void
scriptText string
return void

DbScript() public method

public DbScript ( ) : Serenity.Data
return Serenity.Data

GetResourceScript() public method

public GetResourceScript ( string resourceName, Assembly assembly = null ) : string
resourceName string
assembly System.Reflection.Assembly
return string

ToString() public method

public ToString ( ) : string
return string