public object GetByPrimaryKey(ENT.AdminMasterSUB Entity) { object objResult = null; try { DAL.CRUDOperation tt = new DAL.CRUDOperation(); objResult = tt.GetEntityByPrimartKey(Entity); } catch (Exception) { throw; } return(objResult); }
public object GetByPrimaryKey(ENT.PlantDeviceLastStatus Entity) { object objResult = null; try { DAL.CRUDOperation tt = new DAL.CRUDOperation(); objResult = tt.GetEntityByPrimartKey(Entity); } catch (Exception) { throw; } return(objResult); }
public object GetByLoginID(ENT.PlantMasterSUB Entity) { object objResult = null; try { DAL.CRUDOperation tt = new DAL.CRUDOperation(); Dictionary <string, COM.MyEnumration.Operation> fields = new Dictionary <string, COM.MyEnumration.Operation>(); fields.Add("AspNetUserID", COM.MyEnumration.Operation.WHERE); objResult = tt.GetEntityByPerameters(Entity, fields); } catch (Exception) { throw; } return(objResult); }