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


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

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

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

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

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

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

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

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

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

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

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

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

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

            return(CV_PM_ALT_ELEMENTEntity);
        }