Entities’ does not contain a constructor that takes 1 arguments

public class Connection { public static string GetConecction() { return ConfigurationManager.ConnectionStrings["DCAssetEntities"].ConnectionString; } } I have one “connection” class to configure my web with Entity framework model Entities public class ConnectionDAL { private DCAssetEntities db; public ConnectionDAL() { db = new DCAssetEntities(Connection.GetConecction()); } } then I intialize my database in “ConnectionDAL” class constructor,, It’s working good … Read more