Click or drag to resize
DbEntityGetT Method (String, T)
获取指定的属性值。

Namespace: Adf.Db
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public virtual T Get<T>(
	string name,
	T defaultValue
)

Parameters

name
Type: SystemString
属性名
defaultValue
Type: T
为null时或未设置时的默认值

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Adf.Db.DbEntity.Get``1(System.String,``0)"]

Return Value

Type: T

[Missing <returns> documentation for "M:Adf.Db.DbEntity.Get``1(System.String,``0)"]

See Also