SessionNoServerSharedPersist Method (IOptimizedPersistable, NullableUInt16) |
Namespace:
VelocityDb.Session
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public override ulong Persist(
IOptimizedPersistable ipObj,
ushort? objectsPerPage = null
)
Public Overrides Function Persist (
ipObj As IOptimizedPersistable,
Optional objectsPerPage As UShort? = Nothing
) As ULong
public:
virtual unsigned long long Persist(
IOptimizedPersistable^ ipObj,
Nullable<unsigned short> objectsPerPage = nullptr
) override
abstract Persist :
ipObj : IOptimizedPersistable *
?objectsPerPage : Nullable<uint16>
(* Defaults:
let _objectsPerPage = defaultArg objectsPerPage null
*)
-> uint64
override Persist :
ipObj : IOptimizedPersistable *
?objectsPerPage : Nullable<uint16>
(* Defaults:
let _objectsPerPage = defaultArg objectsPerPage null
*)
-> uint64
Parameters
- ipObj
- Type: VelocityDbIOptimizedPersistable
The object to make persistent - objectsPerPage (Optional)
- Type: SystemNullableUInt16
Override of objects per page, only respected when persisting first object of some type
Return Value
Type:
UInt64The Id of the persisted object
See Also