Click or drag to resize

RowStateExtensionsConvertToObjectState Method

Converts valid row state to object state.

Namespace:  Aloe.SystemFrameworks.Domain.DataAccess
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static ObjectState ConvertToObjectState(
	this RowState rowState
)

Parameters

rowState
Type: Aloe.SystemFrameworks.Domain.DataAccessRowState
Valid row state.

Return Value

Type: ObjectState

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type RowState. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen an unexpected row state is met.
Remarks
The method is usefull for descendant classes trying to correctly implement .ObjectState.
See Also