DBEntityExtension ReadByKey T  Method DataBaseExecutors
Get same key record from database.

Namespace: DataBaseExecutors.Entity
Assembly: DataBaseExecutors (in DataBaseExecutors.dll) Version: 1.0.1.3 (1.0.1.3)
Syntax

public static T ReadByKey<T>(
	this IDBEntity obj,
	string conName
)
where T : IDBEntity

Parameters

obj
Type: DataBaseExecutors.Entity IDBEntity

[Missing <param name="obj"/> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.ReadByKey``1(DataBaseExecutors.Entity.IDBEntity,System.String)"]

conName
Type: System String

[Missing <param name="conName"/> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.ReadByKey``1(DataBaseExecutors.Entity.IDBEntity,System.String)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.ReadByKey``1(DataBaseExecutors.Entity.IDBEntity,System.String)"]

Return Value

Type: T

[Missing <returns> documentation for "M:DataBaseExecutors.Entity.DBEntityExtension.ReadByKey``1(DataBaseExecutors.Entity.IDBEntity,System.String)"]

Usage Note

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

See Also