Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 410 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 410 Bytes

T4-Template-POCO-Example

Example to generate your "POCO" classes from database. Use NPoco Framework for ORM.

Help post: https://www.davidhaney.io/automatically-generate-pocos-from-db-with-t4/

Generate Folder

Base Folder: Export

Example:

  • dbo (Default Schema)
    • User.cs (User table).
    • Role.cs (Role table).
  • Sales (Schema for Sales)
    • Customer.cs (Customer table).