SimpleORM.NET
SessionFlags Enumeration
NamespacesSormSessionFlags

[This is preliminary documentation and is subject to change.]

Bitflags which control how a session works when connecting to a storage.
Declaration Syntax
C#Visual BasicVisual C++
[FlagsAttribute]
public enum SessionFlags
<FlagsAttribute> _
Public Enumeration SessionFlags
[FlagsAttribute]
public enum class SessionFlags
Members
MemberDescription
None
Default value. No attempt to create or modify a database schema. It is an error, if the database schema does not exist or does not match the type schema, but it may be detected very lately, because no checks are performed either.

ModifySchemaAsNeeded
Create the database schema from the type schema and add/remove/modify elements as needed by the type schema.

CreateSchema
Create the schema if it does not exist.

AddMissingElements
Add elements like tables, attributes and indixes if missing.

RemoveSuperfluosElements
Remove elements not needed anymore by the type schema.

ModifyElements
Modify elements as needed by the type schema.

Assembly: sorm (Module: sorm) Version: 1.0.0.13068