Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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);
        }