Skip to content

Service that will convert (a specific DB's) SQL DML (update, insert and merge) into a select

Notifications You must be signed in to change notification settings

oleg3790/SqlConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Service that will convert (vA specific) SQL DML (update, insert and merge) into select and partially validate parameters

Usage

Instantiate a converter service object, check validity of SQL; and invoke the convert call.

var converter = new SqlConverterService(SQL, LogicalId);

if (converter.IsSqlValid())
{
    string convertedSQL = converter.Convert();
}               
else
{
    string status = converter.GetValidationErrorMessage();
}     

Logging

Log4Net is used as the logging service, just configure Log4Net in the consuming application.

About

Service that will convert (a specific DB's) SQL DML (update, insert and merge) into a select

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages