예제 #1
0
 public void Update(CV_PM_ALT_NOTI entity, bool updateAll, DbTransaction transaction)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 public void Update(CV_PM_ALT_NOTI entity)
 {
     throw new NotImplementedException();
 }
예제 #3
0
 public CV_PM_ALT_NOTI Insert(CV_PM_ALT_NOTI entity)
 {
     throw new NotImplementedException();
 }
예제 #4
0
 public CV_PM_ALT_NOTI Insert(CV_PM_ALT_NOTI entity, DbTransaction transaction)
 {
     throw new NotImplementedException();
 }
예제 #5
0
        private static CV_PM_ALT_NOTI ReadEntity(IDataReader dataReader)
        {
            CV_PM_ALT_NOTI CV_PM_ALT_NOTIEntity = new CV_PM_ALT_NOTI();
            object         value;


            value = dataReader["AlertID"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.AlertID = (Guid?)value;
            }

            value = dataReader["UserGuid"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.UserGuid = (Guid?)value;
            }

            value = dataReader["UpdatedOn"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.UpdatedOn = (DateTime?)value;
            }

            value = dataReader["UserID"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.UserID = (String)value;
            }

            value = dataReader["Name"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Name = (String)value;
            }

            value = dataReader["EnglishName"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.EnglishName = (String)value;
            }

            value = dataReader["Mobile"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Mobile = (String)value;
            }

            value = dataReader["Position"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Position = (String)value;
            }

            value = dataReader["Gender"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Gender = (Int32?)value;
            }

            value = dataReader["Email"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Email = (String)value;
            }

            value = dataReader["IsLeader"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.IsLeader = (Boolean?)value;
            }

            value = dataReader["Enable"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Enable = (Boolean?)value;
            }

            value = dataReader["AvatarMediaid"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.AvatarMediaid = (String)value;
            }

            value = dataReader["Telephone"];
            if (value != DBNull.Value)
            {
                CV_PM_ALT_NOTIEntity.Telephone = (String)value;
            }

            return(CV_PM_ALT_NOTIEntity);
        }