예제 #1
0
        public void InsertEnumSample(string name, ItemStatusEnum itemStatue)
        {
            GEPEnumSampleT sample = new GEPEnumSampleT
            {
                Name = name,
                ItemStatus = itemStatue
            };

            new SampleDac().InsertEnumSample(sample);
        }
예제 #2
0
 public void InsertEnumSample(GEPEnumSampleT entity)
 {
     //MongoClassMaps.GEPEnumSample();
     new GEPMongoDacHelper("test", "EnumSample").Insert<GEPEnumSampleT>(entity);
 }