示例#1
0
 public void Visit(ADOTabularFunctionGroupCollection functionGroups)
 {
     DataRow[] drFuncs = _conn.GetSchemaDataSet("MDSCHEMA_FUNCTIONS", null, false).Tables[0].Select("ORIGIN=3 OR ORIGIN=4");
     foreach (DataRow dr in drFuncs)
     {
         functionGroups.AddFunction(dr);
     }
 }
 public void Visit(ADOTabularFunctionGroupCollection functionGroups)
 {
     if (functionGroups == null)
     {
         throw new ArgumentNullException(nameof(functionGroups));
     }
     DataRow[] drFuncs = _conn.GetSchemaDataSet("MDSCHEMA_FUNCTIONS", null, false).Tables[0].Select("ORIGIN=3 OR ORIGIN=4");
     foreach (DataRow dr in drFuncs)
     {
         functionGroups.AddFunction(dr);
     }
 }