Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.71 KB

customizing-operations-overview.md

File metadata and controls

27 lines (17 loc) · 1.71 KB
description title ms.date ms.assetid
Learn more about: Customizing Operations: Overview
Customizing Operations: Overview
03/30/2017
a3546296-1443-4b88-aa6e-d41011041ba7

Customizing Operations: Overview

By default, [!INCLUDEvbtecdlinq] generates dynamic SQL for insert, update, and delete operations based on mapping. However, in practice you typically want to add your own business logic to provide for security, validation, and so forth.

[!INCLUDEvbtecdlinq] techniques for customizing these operations include the following.

Loading Options

In your queries, you can control how much data related to your main target is retrieved when you connect to the database. This functionality is implemented largely by using xref:System.Data.Linq.DataLoadOptions. For more information, see Deferred versus Immediate Loading.

Partial Methods

In its default mapping, [!INCLUDEvbtecdlinq] provides partial methods to help you implement your business logic. For more information, see Adding Business Logic By Using Partial Methods.

Stored Procedures and User-Defined Functions

[!INCLUDEvbtecdlinq] supports the use of stored procedures and user-defined functions. Stored procedures are frequently used to customize operations. For more information, see Stored Procedures.

See also