SQLiteConnectionGetMapping Method (Type, CreateFlags) |
Retrieves the mapping that is automatically generated for the given type.
Namespace:
Unvired.Kernel.SQLite
Assembly:
Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic TableMapping GetMapping(
Type type,
CreateFlags createFlags = CreateFlags.None
)
Public Function GetMapping (
type As Type,
Optional createFlags As CreateFlags = CreateFlags.None
) As TableMapping
public:
TableMapping^ GetMapping(
Type^ type,
CreateFlags createFlags = CreateFlags::None
)
member GetMapping :
type : Type *
?createFlags : CreateFlags
(* Defaults:
let _createFlags = defaultArg createFlags CreateFlags.None
*)
-> TableMapping
Parameters
- type
- Type: SystemType
The type whose mapping to the database is returned.
- createFlags (Optional)
- Type: Unvired.Kernel.SQLiteCreateFlags
Optional flags allowing implicit PK and indexes based on naming conventions
Return Value
Type:
TableMapping
The mapping represents the schema of the columns of the database and contains
methods to set and get properties of objects.
See Also