public void InsertEnumSample(string name, ItemStatusEnum itemStatue) { GEPEnumSampleT sample = new GEPEnumSampleT { Name = name, ItemStatus = itemStatue }; new SampleDac().InsertEnumSample(sample); }
public void InsertEnumSample(GEPEnumSampleT entity) { //MongoClassMaps.GEPEnumSample(); new GEPMongoDacHelper("test", "EnumSample").Insert<GEPEnumSampleT>(entity); }