OfType Constructor (Type, SessionBase, Boolean, Boolean) |
Constructs this enumeration wrapper object
Namespace:
VelocityDb
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntaxpublic OfType(
Type type,
SessionBase session,
bool includeSubclasses,
bool databasePerType
)
Public Sub New (
type As Type,
session As SessionBase,
includeSubclasses As Boolean,
databasePerType As Boolean
)
public:
OfType(
Type^ type,
SessionBase^ session,
bool includeSubclasses,
bool databasePerType
)
new :
type : Type *
session : SessionBase *
includeSubclasses : bool *
databasePerType : bool -> OfType
Parameters
- type
- Type: System.Type
The Type of persisted objects to enumerate - session
- Type: VelocityDb.Session.SessionBase
The active session - includeSubclasses
- Type: System.Boolean
Also return instances of sub classes - databasePerType
- Type: System.Boolean
Assume that persisted objects where made persistent the simple way using Persist(IOptimizedPersistable, Nullable<UInt16>). When persisting this way, each object type gets its own Database which makes finding these objects easier and faster
See Also