/// <summary> /// Builds the data fields for category. /// </summary> /// <param name="category">The category.</param> /// <param name="instance">The instance.</param> /// <returns></returns> public PropertyCollectionExtended buildDataFieldsForCategory(String category, T instance) { PropertyCollectionExtended pce = new PropertyCollectionExtended(); PropertyCollectionExtended shema = this[category]; pce.name = shema.name; pce.description = shema.description; pce.AddMetaRangeFrom(shema); pce.setFromObject(instance); return(pce); }
/// <summary> /// Builds the data table for category. /// </summary> /// <param name="category">The category.</param> /// <param name="instance">The instance.</param> /// <returns></returns> /// <exception cref="NotImplementedException">-- not implemented --</exception> public DataTable buildDataTableForCategory(String category, T instance) { PropertyCollectionExtended pce = new PropertyCollectionExtended(); PropertyCollectionExtended shema = this[category]; pce.name = shema.name; pce.description = shema.description; pce.AddMetaRangeFrom(shema); pce.setFromObject(instance); throw new NotImplementedException("-- not implemented --"); return(null); // pce.buildDataTableVertical(category, shema.description); }