WCF RIA Domain Service Template

This template is designed for generating a WCF RIA Services domain service class for an Entity Framework model.

ExpandedToggleIcon        Template Properties

General

Description

Description of the template.

Enabled

Indicates whether the template is enabled. Acceptable values are True or False.

File Name

The name of the template file.

Name

The name of the template.

Type

The type of the template.

Generation

UseDbContext

If set to True, the template is used for strongly-typed DbContext class, otherwise (by default) it is used for strongly-typed ObjectContext class.

Output

Domain Service Output

Allows specifying the output folder for the generated entity classes.

Project

(This property is available in the Visual Studio add-in only) The name of the Visual Studio project where the generation result will be located.

Project Folder

(This property is available in the Visual Studio add-in only) The name of the directory in the Visual Studio project where the generation result will be located.

Destination Folder

(This property is available in the standalone application only) The directory to contain the generation results.

 

ExpandedToggleIcon        Extended Properties

ExposedByDomainService

Specifies whether the corresponding collection should be exposed via the Domain Service.

EditableInDomainService

Specifies whether the methods for inserting, updating, and deleting should be generated in the Domain Service.

 


Send feedback on this topic

© 2008 - 2024 Devart. All rights reserved.