Instantiate ErpContext object from connection string in C#

This may help