relativitydev / Gravity

ORM Framework for Relativity Custom Development
Other
16 stars 10 forks source link

Add workspaceID to public constructor for SQLDao #147

Closed mrobustelli closed 6 years ago

mrobustelli commented 6 years ago

See comments on 202cb87a4dbb9e96f79e927cb9684520b136dac2 - SqlDao.cs Line 20.

Constructor should be public SqlDao(IDBContext workspaceContext, IDBContext masterContext, int workspaceId, InvokeWithRetrySettings invokeWithRetrySettings)

and logic should contain

this.workspaceId = workspaceId;

If the SqlDoa is created with this constructor the User Get will fail.

hhristov-tsd commented 6 years ago

I will add this with a fix for #148.