Creates an instance of DbModelType defined by the parameers.
| C# | Visual Basic | Visual 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 )
- 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".
An instance of DbModelType defined by the parameers