Quick Start Template

Quick Start Template


The QuickStart temlplate is used to create a basic project using CSLA. The template will create a Visual Studio solution with up to three included projects: a Business Project, Data Project, and an Interface Project.

Please see the Getting Started section for steps on how to use the QuickStart template.

Template Properties

Property

Data Type

Description

1. Database

SourceDatabase

DatabaseSchema

The Database that should be generated against.

2. Solution

FrameworkVersion

Enumeration

The .NET Framework version you wish to target. If the value is set to:

  • v35, then a Visual Studio solution that targets CSLA 3.8.x will be created.

  • v40, then a Visual Studio solution that targets CSLA 4.3.x will be created.

Language

Enumeration

The language that thee project will be generated in.

LaunchVisualStudio

Boolean

Launches Visual Studio when the project finishes generating.

Location

String

The root directory of the generated solution.

SolutionName

String

The name of the Visual Studio Solution that should be created.

3. Business Project

 

BusinessProjectName

String

The name of the business project directory and project.

IncludeSilverlightSupport

Boolean

Adds Silverlight features to the business project.

UseMemberVariables

Boolean

Uses private property backing fields for properties.

4. Data Project

AutoExecuteStoredProcedures

Boolean

Automatically executes the generated stored procedures against the selected SourceDatabase.

DataAccessImplementation

Enumeration

Changes how the Business Data Access Methods and Data Access Layer are implemented. Please use the following chart for a break down of usages.

Value

Location of Data Access

Data Access Implementation

Editable

None

Business Project

None, you can implement your own.

Yes

ParameterizedSQL

Business Project

Parameterized SQL

No

StoredProcedures

Business Project

Stored Procedures

No

LinqToSQL

Business Project

Linq To SQL (Only available for C#)

No

ObjectFactoryNone

Data Project

None, you can implement your own.

Yes

ObjectFactoryParameterizedSQL

Data Project

Parameterized SQL

No

ObjectFactoryStoredProcedures

Data Project

Stored Procedures

No

Please see this for more information on data access implementations.

DataProjectName

String

The name of the data project directory and project.

IsolationLevel

Enumeration

Isolation level to use in the generated stored procedures.

ParameterPrefix

String

Prefix to use for all generated stored procedure parameters.

ProcedurePrefix

String

Prefix to use for all generated stored procedures.

UseLazyloading

Boolean

Properties will load data only when it is requested.

5. Interface Project

IncludeInterfaceProject

Boolean

Adds a website to the generated solution.

InterfaceProjectName

Boolean

The name of the interface project directory and project.

7. LinqToSQL Data Access Layer

 

LinqToSQLContextNamspace

String

The namespace of the generated PLINQO DataContext. Please see this for more information.

LinqToSQLDataContextName

String

The name of the generated PLINQO DataContext. Please see this for more information.