UnitTestUtilities.

SetupCurrentUser(TestUserConnection, TestEntitySchemaManager, Nullable<Guid>, string, Nullable<Guid>) Method

Assembly
UnitTest.dll
Namespace
Terrasoft.UnitTest
Containing Type
UnitTestUtilities

Syntax

public static void SetupCurrentUser(this TestUserConnection userConnection, TestEntitySchemaManager systemEntitySchemaManager, Nullable<Guid> contactId = null, string userName = null, Nullable<Guid> sysCultureId = null)

Parameters

Name Type Description
userConnection TestUserConnection
systemEntitySchemaManager TestEntitySchemaManager
contactId Nullable<Guid>
userName string
sysCultureId Nullable<Guid>

Return Value

Type Description
void