private UserFunctions CreateObjects(IDataReader oReader) { UserFunctions oUserFunctions = new UserFunctions(); NullHandler oHandler = new NullHandler(oReader); while (oReader.Read()) { UserFunction oItem = CreateObject(oHandler); oUserFunctions.Add(oItem); } return(oUserFunctions); }
public void AddNewFunction(IFunction function) { UserFunctions.Add(function); }