Skip to content

sdsanchezm/csharp-blogpost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csharp-blogpost

post of a blog, data model in csharp .net

ER Model

erDiagram
    POST ||--o{ PostComment : places
    PostComment ||--o{ COMMENTER : places
    POST ||--o{ PostAuthor : places
    PostAuthor ||--o{ AUTHOR : places
    AUTHOR ||--o{ CITY : places
    POST ||--o{ PostCategory : places
    PostCategory ||--o{ Category : places
Loading

Schema from Dbeaver

ER Diagram1

Schema from MS SQL Server

ER Diagram2

Misc

Commands EF

  • dotnet ef migrations add InitialCreate1

  • dotnet ef database update

  • Install the right version

  • Conneiction String Examples:

    "conn1": "Data Source=RYZ\\SQLEXPRESS_SS;Initial Catalog=TestDb;User ID=ss;Password=passw0rd;Trust Server Certificate=True",
    "conn2": "Data Source=RYZ\\SQLEXPRESS_SS;Initial Catalog=TestDb;Persist Security Info=True;User ID=ss;Password=passw0rd;Encrypt=False;Trust Server Certificate=True"
    
  • Connection String from VS:

    • SQL Server Object Exp;lorer > Advance > Connection String
    • Can also "test" the connection

About

post of a blog, data model in csharp .net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages