Browse Source

README.md

Lith 7 months ago
parent
commit
539b086061
1 changed files with 2 additions and 2 deletions
  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>();