Lith 7 місяців тому
батько
коміт
539b086061
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -56,7 +56,7 @@ namespace App
         static void Main2(string[] args)
         {
             // #1 Init
-            using var dbContext = new Vitorm.Excel.DbContext("Excel://mongoadmin:mongoadminsecret@localhost:27017");
+            using var dbContext = new Vitorm.Excel.DbContext("db_orm.xlsx");
             dbContext.TryDropTable<User>();
             dbContext.TryCreateTable<User>();
             dbContext.Add(new User { id = 1, name = "lith" });
@@ -96,7 +96,7 @@ namespace App
         static void Main(string[] args)
         {
             // #1 Configures Vitorm
-            using var dbContext = new Vitorm.Excel.DbContext("Excel://mongoadmin:mongoadminsecret@localhost:27017");
+            using var dbContext = new Vitorm.Excel.DbContext("db_orm.xlsx");
 
             // #2 Create Table
             dbContext.TryDropTable<User>();