Danh mục

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

Số trang: 86      Loại file: pptx      Dung lượng: 11.71 MB      Lượt xem: 11      Lượt tải: 0    
Jamona

Xem trước 9 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

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.
Nội dung trích xuất từ tài liệu:
Bài giảng Công nghệ lập trình tiên tiến: Chương 3 - ĐH Công nghệ Đồng Nai DONG NAI UNIVERSITY OF TECHNOLOGY Generator 1 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 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 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 DONG NAI UNIVERSITY OF TECHNOLOGY Microsoft's minimalist approach to ORMs, LINQ to SQL is the original lightweight LINQ implementation for data access. 5 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 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 DONG NAI UNIVERSITY OF TECHNOLOGY Key Features: 1.1 Instant Data Layer Generation 1.2 Safe Regeneration and Synchronization 1.3 Open Source 8 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 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 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 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 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 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 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 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 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 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 g ...

Tài liệu được xem nhiều: