title: enums across tiers
body: <p>I'd like to use the same enum across three tiers of my application (presentation -> bal -> dal).  I defined the enum in the data layer and I want to use the same enum in the presentation layer (the presentation layer does not have a reference to the data layer).  Using someone else's <a href="https://stackoverflow.com/questions/40107/using-attributes-to-cut-down-on-enum-to-enum-mapping-and-enum-const-to-action-swi">answer</a> to what I think is a similar question, I've built the following enum in the business layer:</p>
  
  <pre><code>namespace bal
  {
      public enum TransactionCode
      {
          Accepted = dal.TransactionCode.Accepted,
          AcceptedWithErrors = dal.TransactionCode.AcceptedWithErrors,
          InvalidVendorCredentials = dal.TransactionCode.InvalidVendorCredentials,
          BrokerOffline = dal.TransactionCode.BrokerOffline
      }
  }
  </code></pre>
  
  <p>Is this an appropriate way to construct enums between the tiers?</p>