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

FrameworkVersionEnumeration

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 
BusinessProjectNameStringThe name of the business project directory and project.
IncludeSilverlightSupportBooleanAdds Silverlight features to the business project.
UseMemberVariablesBooleanUses private property backing fields for properties.

4. Data Project

AutoExecuteStoredProceduresBooleanAutomatically executes the generated stored procedures against the selected SourceDatabase.
DataAccessImplementationEnumeration

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

ValueLocation of Data AccessData Access ImplementationEditable
NoneBusiness ProjectNone, you can implement your own.Yes
ParameterizedSQLBusiness ProjectParameterized SQLNo
StoredProcedures Business ProjectStored Procedures No
LinqToSQL Business ProjectLinq To SQL (Only available for C#) No
ObjectFactoryNone Data ProjectNone, you can implement your own.Yes
ObjectFactoryParameterizedSQL Data ProjectParameterized SQLNo
ObjectFactoryStoredProcedures Data ProjectStored Procedures No

Please see this for more information on data access implementations.

DataProjectName

String

The name of the data project directory and project.

IsolationLevelEnumerationIsolation level to use in the generated stored procedures.
ParameterPrefixStringPrefix to use for all generated stored procedure parameters.
ProcedurePrefixStringPrefix to use for all generated stored procedures.
UseLazyloadingBooleanProperties 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 
LinqToSQLContextNamspaceStringThe namespace of the generated PLINQO DataContext. Please see this for more information.
LinqToSQLDataContextNameStringThe name of the generated PLINQO DataContext. Please see this for more information.