This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
namespace TestException | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var p = new Program(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// current context implementation and config usage | |
public MembershipDbContext() | |
: base("ConnectionStringName", throwIfV1Schema: false) | |
{ | |
Configuration.ProxyCreationEnabled = false; | |
Configuration.LazyLoadingEnabled = false; | |
} | |
// a lot of connection strings like this one |