Click or drag to resize

DatabaseExtensionGetResultT Method

Namespace:  FileHold.DocumentRepository.Extensions
Assembly:  FileHold.DocumentRepository (in FileHold.DocumentRepository.dll) Version: 17.0.0.0
Syntax
C#
public static T GetResult<T>(
	this Database database,
	Func<Database, DbTransaction, T> action
)

Parameters

database
Type: Database
action
Type: SystemFuncDatabase, DbTransaction, T

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:FileHold.DocumentRepository.Extensions.DatabaseExtension.GetResult``1(Microsoft.Practices.EnterpriseLibrary.Data.Database,System.Func{Microsoft.Practices.EnterpriseLibrary.Data.Database,System.Data.Common.DbTransaction,``0})"]

Return Value

Type: T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Database. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also