예제 #1
0
        public void deleteMetaDataDefination(int id)
        {
            DBHelper._MetaDataDefination dbhelp = new DBHelper._MetaDataDefination();
            MetaDataDefination           existingMetaDataDef = dbhelp.GetByid(id);

            dbhelp.Delete(existingMetaDataDef);
        }
예제 #2
0
        public void updateMetaDataDefination(int id, Edit metaDataDef)
        {
            DBHelper._MetaDataDefination dbhelp = new DBHelper._MetaDataDefination();
            MetaDataDefination           existingMetaDataDef = dbhelp.GetByid(id);

            existingMetaDataDef.EntityType = metaDataDef.EntityType;
            existingMetaDataDef.ObjectName = metaDataDef.ObjectName;

            dbhelp.Update(existingMetaDataDef);
        }