Avectra.netForum.Data.FacadeClass.SelectByKey

Loads an Object when you set the CurrentKey property with the primary key of the record you want to load.

Parameters

OleDbConnection and OleDbTransaction (both optional through an overload method).

Usage and Examples

// Instantiate object of FacadeClass
FacadeClass oF = DataUtils.InstantiateFacadeObject("Organization");
 
// set the currentkey property to load the particualar object you want
oF.CurrentKey = "b290c926-549c-4b54-8b20-14d45548ca1f";
oF.SelectByKey()