Mini SQL Query Extensibility Documentation
Create Method (dbTypes, name, length, precision, scale, systemTypeName)
NamespacesMiniSqlQuery.Core.DbModelDbModelTypeCreate(Dictionary<(Of <(String, DbModelType>)>), String, Int32, Int32, Int32, String)
Creates an instance of DbModelType defined by the parameers.
Declaration Syntax
C#Visual BasicVisual C++
public static DbModelType Create(
	Dictionary<string, DbModelType> dbTypes,
	string name,
	int length,
	int precision,
	int scale,
	string systemTypeName
)
Public Shared Function Create ( _
	dbTypes As Dictionary(Of String, DbModelType), _
	name As String, _
	length As Integer, _
	precision As Integer, _
	scale As Integer, _
	systemTypeName As String _
) As DbModelType
public:
static DbModelType^ Create(
	Dictionary<String^, DbModelType^>^ dbTypes, 
	String^ name, 
	int length, 
	int precision, 
	int scale, 
	String^ systemTypeName
)
Parameters
dbTypes (Dictionary<(Of <(String, DbModelType>)>))
The db types list, if the name is in the list it is used as a base copy of the type.
name (String)
The name of the type, e.g. "int", "nvarchar" etc.
length (Int32)
The length of the type.
precision (Int32)
The precision.
scale (Int32)
The scale.
systemTypeName (String)
Name of the system type, e.g. "System.String".
Return Value
An instance of DbModelType defined by the parameers

Assembly: MiniSqlQuery.Core (Module: MiniSqlQuery.Core) Version: 1.0.0.0 (1.0.0.0)