KingsportMillSafetyTrainingDbContext..::..SetUserCompany Method

Sets the user company.

Namespace:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db
Assembly:  MichaelBrandonMorris.KingsportMillSafetyTraining.Db (in MichaelBrandonMorris.KingsportMillSafetyTraining.Db.dll)

Syntax


public void SetUserCompany(
	string userId,
	int companyId
)
Public Sub SetUserCompany ( _
	userId As String, _
	companyId As Integer _
)
public:
void SetUserCompany(
	String^ userId, 
	int^ companyId
)

Parameters

userId
Type: String
The user identifier.
companyId
Type: Int32
The company identifier.