See also
Class BusinessObjectLinq
West Wind Web Toolkit for ASP.NET
BusinessObjectLinq<TEntity,TContext>.Load
Loads an individual instance of an entity and returns the instance. Entity is also set with the entity if loaded.
This method works with single primary keys of: int string Guid
public virtual TEntity Load(int pk);
Return Value
entity or null. Also sets Entity property
Parameters
pk
integer primary key
Overloads:
public virtual TEntity Load(object pk);
public virtual TEntity Load(string pk);
public virtual TEntity Load(Expression<Func`2> whereClauseLambda);
See also:
Class BusinessObjectLinq