public bool UpdateNull(FuenteEntityKey EntityKey, FuenteEntityUpdateNullFields EntityUpdateNullFields)
 {
     try
     {
         if (!EntityKey.Validate())
         {
             return(false);
         }
         return(this.CreateDataAccess().UpdateNull(EntityKey, EntityUpdateNullFields));
     }
     catch (Exception ex)
     {
         Helpers.Logger.Logger.LogExceptionStatic(ex);
         throw ex;
     }
 }
        public bool UpdateNull(FuenteEntityKey EntityKey, FuenteEntityUpdateNullFields EntityUpdateNullFields)
        {
            DbCommand storedProcCommand = this.Database.GetStoredProcCommand("Fuente_UpdateNulls");

            try
            {
                using (storedProcCommand)
                {
                    this.Database.AddInParameter(storedProcCommand, "FntID", DbType.AnsiString, (object)EntityKey.FntID);
                    this.Database.AddInParameter(storedProcCommand, "FieldList", DbType.String, (object)EntityUpdateNullFields.FieldList);
                    this.Database.AddInParameter(storedProcCommand, "WhereExtendido", DbType.String, (object)EntityUpdateNullFields.WhereExtendido);
                    return(Convert.ToBoolean(this.Database.ExecuteNonQuery(storedProcCommand)));
                }
            }
            catch (SqlException ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }