Class SqlServerScripts
- Namespace
- JJMasterData.Commons.Data.Entity.Providers
- Assembly
- JJMasterData.Commons.dll
public class SqlServerScripts
- Inheritance
-
SqlServerScripts
- Inherited Members
-
Constructors
SqlServerScripts(SqlServerReadProcedureScripts, SqlServerWriteProcedureScripts)
public SqlServerScripts(SqlServerReadProcedureScripts readProcedureScripts, SqlServerWriteProcedureScripts writeProcedureScripts)
Parameters
readProcedureScripts
SqlServerReadProcedureScripts
writeProcedureScripts
SqlServerWriteProcedureScripts
Methods
GetAlterTableScript(Element, IEnumerable<ElementField>)
public static string? GetAlterTableScript(Element element, IEnumerable<ElementField> fields)
Parameters
element
Element
fields
IEnumerable<ElementField>
Returns
- string
GetCreateTableScript(Element, List<RelationshipReference>)
public static string GetCreateTableScript(Element element, List<RelationshipReference> relationships)
Parameters
element
Element
relationships
List<RelationshipReference>
Returns
- string
GetReadProcedureScript(Element)
public string GetReadProcedureScript(Element element)
Parameters
element
Element
Returns
- string
GetReadScript(Element)
public string GetReadScript(Element element)
Parameters
element
Element
Returns
- string
GetWriteProcedureScript(Element)
public string GetWriteProcedureScript(Element element)
Parameters
element
Element
Returns
- string
GetWriteScript(Element)
public static string GetWriteScript(Element element)
Parameters
element
Element
Returns
- string