intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Bài giảng Công nghệ lập trình tiên tiến: Chương 3 - ĐH Công nghệ Đồng Nai

Chia sẻ: Na Na | Ngày: | Loại File: PPTX | Số trang:86

91
lượt xem
7
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Bài giảng Công nghệ lập trình tiên tiến: Chương 3 trình bày các nội dung kiến thức về truy xuất dữ liệu với CodeSmith như các thao tác trên máy tính, câu lệnh, cú pháp, các thao tác thực hiện và một số nội dung khác.

Chủ đề:
Lưu

Nội dung Text: Bài giảng Công nghệ lập trình tiên tiến: Chương 3 - ĐH Công nghệ Đồng Nai

  1. DONG NAI UNIVERSITY OF TECHNOLOGY Generator 1
  2. DONG NAI UNIVERSITY OF TECHNOLOGY All information's of PLINQO in this Document, I got it from: http://www.codesmithtools.com/plinqo So, you could visit the link above to research 2
  3. DONG NAI UNIVERSITY OF TECHNOLOGY 1 Introduce CodeSmith generator - PLINQO 2 What is PLINQO for NHibernate? 3 Key features PLINQO for Nhibernate. 4 Getting Started Steps PLINQO for Nhibernate. 5 Template Syntax 3
  4. DONG NAI UNIVERSITY OF TECHNOLOGY 1 Introduce CodeSmith generator - PLINQO PLINQO is an enhanced alternative for the most popular Object Relational Mapping frameworks. It is a set of CodeSmith Templates designed to simplify the creation and maintenance of data models, as well as provide you with an easy to use data access layer that adhears to best practices. 4
  5. DONG NAI UNIVERSITY OF TECHNOLOGY Microsoft's minimalist approach to ORMs, LINQ to SQL is the original lightweight LINQ implementation for data access. 5
  6. DONG NAI UNIVERSITY OF TECHNOLOGY Entity Framework is Microsoft's ORM of choice. It is an advanced framework that uses multiple models to allow for flexibility. 6
  7. DONG NAI UNIVERSITY OF TECHNOLOGY NHibernate is the open source community's ORM of choice. It is a port of Hibernate for Java that has taken on a life of it's own. 7
  8. DONG NAI UNIVERSITY OF TECHNOLOGY Key Features: 1.1 Instant Data Layer Generation 1.2 Safe Regeneration and Synchronization 1.3 Open Source 8
  9. DONG NAI UNIVERSITY OF TECHNOLOGY 1.1 Instant Data Layer Generation PLINQO will generate all of your database mappings, business entities, and query extensions instantly. Each generated class is separated into editable and generated files, all of which are organized into an intelligible folder structure. 9
  10. DONG NAI UNIVERSITY OF TECHNOLOGY 1.2 Safe Regeneration and Synchronization Quickly and safely regenerate your data layer against your database. PLINQO intelligently seeks out and merges data changes with code changes, allowing you customize your ORM mappings and safely regenerate them! 10
  11. DONG NAI UNIVERSITY OF TECHNOLOGY 1.3 Open Source All PLINQO templates and libraries are open source. This puts you in complete control of your source code, and allows you to customize your data layer to fit your needs. Interested in sharing your changes? Submit a patch and get it put into the next build of PLINQO 11
  12. DONG NAI UNIVERSITY OF TECHNOLOGY 2 What is PLINQO for NHibernate? - PLINQO NH is a Replace and Enhance alternative to NHibernate. - PLINQO NH is available in C#, and supports SQL Server, Oracle, DB2, MySQL, and more! 12
  13. DONG NAI UNIVERSITY OF TECHNOLOGY 2 What is PLINQO for NHibernate? PLINQO is a set of CodeSmith Templates that generate ORM (Object Relational Mapping) frameworks using consistent design patterns and best practices. PLINQO Frameworks also include an advanced set of features to both simplify and optimize the task of data access. 13
  14. DONG NAI UNIVERSITY OF TECHNOLOGY 2 What is PLINQO for NHibernate? Advantaged: Without write CRUD - simplifications (Create, Retrieve, - optimizations Update, Delete) Method - convenience The ultimate goal is to take the best of both worlds and put them together into a robust framework that is easy to use. 14
  15. DONG NAI UNIVERSITY OF TECHNOLOGY 3 Key features PLINQO for Nhibernate. PLINQO can generated your HBM files, entity classes, and all NHibernate configuration in seconds. It then allows you to safely regenerate that code at anytime, thus synchronizing your mappings with the database while still intelligently preserving custom changes. 15
  16. DONG NAI UNIVERSITY OF TECHNOLOGY 3 Key features PLINQO for Nhibernate. 3.1 Data Layer Generation 3.2 Safe Regeneration 3.3 Intuitive File Structure 3.4 Query Logic 16
  17. DONG NAI UNIVERSITY OF TECHNOLOGY 3.1 Data Layer Generation • Generate your HBM files from your database. • Supports Tables, Views, and Stored Procedures. • Supports associations and composite keys. • Generate your Entities from your HBM files. 17
  18. DONG NAI UNIVERSITY OF TECHNOLOGY 3.2 Safe Regeneration • Safely regenerate your data layer against your database. • Intelligently seeks out and merges data changes with code changes. • Ability to filter what gets updated from the database. 18
  19. DONG NAI UNIVERSITY OF TECHNOLOGY 3.3 Intuitive File Structure • Each generated class is separated into editable and generated files. • Complex types are generated into an organized folder structure. 19
  20. DONG NAI UNIVERSITY OF TECHNOLOGY 3.4 Query Logic • Generates chainable query extension methods that simplify query logic. • Query extensions support advanced comparison and containment operators. 20
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2