Esempio n. 1
0
 private IEnumerable <CommenceFieldMetaData> GetFieldMetaData(string categoryName, IEnumerable <string> fields)
 {
     foreach (string fieldName in fields)
     {
         ICommenceFieldDefinition d = _db.GetFieldDefinition(categoryName, fieldName);
         CommenceFieldMetaData    f = new CommenceFieldMetaData(fieldName, d);
         yield return(f);
     }
 }