Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 86 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
86
Dung lượng
11,7 MB
Nội dung
HO CHI MINH UNIVERSITY OF INDUSTRY
Generator
HO CHI MINH UNIVERSITY OF INDUSTRY
http://www.codesmithtools.com/plinqo
All information's of PLINQO in this
Document, I got it from:
So, you could visit the link above to
research
HO CHI MINH UNIVERSITY OF INDUSTRY
Introduce CodeSmith generator - PLINQO
1
What is PLINQO for NHibernate?
2
Key features PLINQO for Nhibernate.
3
Getting Started Steps PLINQO for Nhibernate.
4
Template Syntax
5
HO CHI MINH UNIVERSITY OF INDUSTRY
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.
Introduce CodeSmith generator - PLINQO
1
HO CHI MINH UNIVERSITY OF INDUSTRY
Microsoft's minimalist approach to
ORMs, LINQ to SQL is the original
lightweight LINQ implementation for
data access.
HO CHI MINH UNIVERSITY OF INDUSTRY
Entity Framework is Microsoft's ORM
of choice. It is an advanced
framework that uses multiple models
to allow for flexibility.
HO CHI MINH UNIVERSITY OF INDUSTRY
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.
HO CHI MINH UNIVERSITY OF INDUSTRY
Key Features:
Instant Data Layer Generation
1.1
Safe Regeneration and
Synchronization
1.2
Open Source
1.3
HO CHI MINH UNIVERSITY OF INDUSTRY
Instant Data Layer Generation
1.1
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.
HO CHI MINH UNIVERSITY OF INDUSTRY
Safe Regeneration and
Synchronization
1.2
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!
[...]... for Nhibernate 4.1 How to install CodeSmith Generation 4.2 Quick Start 4.3 Manual Configuration HO CHI MINH UNIVERSITY OF INDUSTRY 4.1 How to install CodeSmith Generation Download latest: http:/ /code. google.com/p/codesmith/downloads/list?can=3&q=nhibernate Getting Started: http://docs.codesmithtools.com/display/NHibernate/Getting+Started Documentation: http://docs.codesmithtools.com/display/NHibernate/Home... http://docs.codesmithtools.com/display/NHibernate/Downloads HO CHI MINH UNIVERSITY OF INDUSTRY 4.1 How to install CodeSmith Generation These templates are dependent on the following: Development Applications: CodeSmith Generator Professional 5.x Microsoft Visual Studio 2010 Runtime Assemblies: NET 4.0 NHibernate 3.2.0.GA HO CHI MINH UNIVERSITY OF INDUSTRY I downloaded and installed CodeSmith Generator. .. Desktop Icon HO CHI MINH UNIVERSITY OF INDUSTRY In the Generator Menu or in the Add New Item dialog HO CHI MINH UNIVERSITY OF INDUSTRY 4.2 Quick Start 1.Open QuickStart.cst 2.Select a SourceDatabase 3.Click Generate! See details in the next slide HO CHI MINH UNIVERSITY OF INDUSTRY Double click on the CodeSmith Generator Explorer Icon see the CodeSmithGenerator Explorer dialog HO CHI MINH UNIVERSITY... alternative to NHibernate - PLINQO NH is available in C#, and supports SQL Server, Oracle, DB2, MySQL, and more! HO CHI MINH UNIVERSITY OF INDUSTRY 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...HO CHI MINH UNIVERSITY OF INDUSTRY 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 HO CHI MINH UNIVERSITY OF INDUSTRY 2... UNIVERSITY OF INDUSTRY 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 HO CHI MINH UNIVERSITY OF INDUSTRY 3 Key features PLINQO for Nhibernate 3.1 Data... Entities from your HBM files HO CHI MINH UNIVERSITY OF INDUSTRY 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 HO CHI MINH UNIVERSITY OF INDUSTRY 3.3 Intuitive File Structure • Each generated class is separated into editable and generated files . HO CHI MINH UNIVERSITY OF INDUSTRY
Generator
HO CHI MINH UNIVERSITY OF INDUSTRY
http://www.codesmithtools.com/plinqo
All information's of. the link above to
research
HO CHI MINH UNIVERSITY OF INDUSTRY
Introduce CodeSmith generator - PLINQO
1
What is PLINQO for NHibernate?
2
Key features PLINQO