using ProjeLibrary;
namespace WinFormsApp4
{
    public static class DbObject
    {
        private static string _connectionstring = @"Data Source=DESKTOP-AEM4AS5\SQLEXPRESS;Initial Catalog=ef;Integrated Security=True;Persist Security Info=False;Pooling=False;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=True;";

        public static ProjeDb CreateDb()
        {
            return new ProjeDb(_connectionstring);
        }


    }
}
