public void deleteMetaDataDefination(int id) { DBHelper._MetaDataDefination dbhelp = new DBHelper._MetaDataDefination(); MetaDataDefination existingMetaDataDef = dbhelp.GetByid(id); dbhelp.Delete(existingMetaDataDef); }
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); }