Tải bản đầy đủ (.pptx) (86 trang)

Code Smith Generator potx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (8.39 MB, 86 trang )

HO CHI MINH UNIVERSITY OF INDUSTRY
Generator
HO CHI MINH UNIVERSITY OF INDUSTRY
/>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!
HO CHI MINH UNIVERSITY OF INDUSTRY
Open Source
1.3
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
What is PLINQO for NHibernate?
2
-
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!
HO CHI MINH UNIVERSITY OF INDUSTRY
What is PLINQO for NHibernate?
2
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.
HO CHI MINH UNIVERSITY OF INDUSTRY
What is PLINQO for NHibernate?
2
Advantaged:
- simplifications
- optimizations
- 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.
Without write CRUD
(Create, Retrieve,
Update, Delete) Method
HO CHI MINH UNIVERSITY OF INDUSTRY
Key features PLINQO for Nhibernate.
3
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
Key features PLINQO for Nhibernate.
3
Data Layer Generation
3.1
Safe Regeneration
3.2
Intuitive File Structure
3.3
Query Logic
3.4
HO CHI MINH UNIVERSITY OF INDUSTRY
Data Layer Generation
3.1

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.
HO CHI MINH UNIVERSITY OF INDUSTRY
Safe Regeneration
3.2

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
Intuitive File Structure
3.3

Each generated class is separated
into editable and generated files.

Complex types are generated into an
organized folder structure.
HO CHI MINH UNIVERSITY OF INDUSTRY
Query Logic
3.4

Generates chainable query extension
methods that simplify query logic.

Query extensions support advanced

comparison and containment
operators.
HO CHI MINH UNIVERSITY OF INDUSTRY
Getting Started Steps PLINQO for Nhibernate.
4
How to install CodeSmith Generation
4.1
Quick Start
4.2
Manual Configuration
4.3
HO CHI MINH UNIVERSITY OF INDUSTRY
How to install CodeSmith Generation
4.1
/>Download latest:
/>Getting Started:
/>Documentation:
/>Additional download and samples:
HO CHI MINH UNIVERSITY OF INDUSTRY
How to install CodeSmith Generation
4.1
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 6.0
HO CHI MINH UNIVERSITY OF INDUSTRY
In the
Start
menu &
Desktop
Icon

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×