public static int ExecuteSetData(Request request) { if (request.DataItem != null && !string.IsNullOrEmpty(request.DataItem.KeyService)) { return(ExecuteSetDataFromAssembly(request)); } return(AutoDao.ExeNonQuery(request)); }
public static List <AutoObject> ExecuteGetData(Request request) { if (request.DataItem != null && !string.IsNullOrEmpty(request.DataItem.KeyService)) { return(ExecuteGetDataFromAssembly(request)); } return(AutoDao.ExecuteQuery(request)); }