Click here to Skip to main content
15,881,248 members
Articles / Desktop Programming / WPF

Layers Pattern in Practice

Rate me:
Please Sign up or sign in to vote.
4.96/5 (59 votes)
23 Apr 2010CPOL25 min read 152.3K   8.1K   187  
Layers Pattern via a WPF project.
<?xml version="1.0" encoding="utf-8"?>
<Bills xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/billschema.xsd">
  <Bill ID="366126a8-c409-4029-8551-fd7ee6dc05a3">
    <Name>Moldtelecom</Name>
    <DueDate>2009-10-31T00:00:00</DueDate>
    <Amount>900</Amount>
    <AddedOn>2009-11-13T00:00:00</AddedOn>
    <Status>Paid</Status>
  </Bill>
  <Bill ID="2cf4584c-0e3e-4f21-bb8c-bbc5403b0ca6">
    <Name>Orange</Name>
    <DueDate>2009-11-14T00:00:00</DueDate>
    <Amount>159</Amount>
    <AddedOn>2009-10-15T00:00:00</AddedOn>
    <Status>Paid</Status>
  </Bill>
  <Bill ID="6a6b409c-73e1-4337-9984-8dd5454b7fc8">
    <Name>Moldtelecom</Name>
    <DueDate>2009-10-26T00:00:00</DueDate>
    <Amount>189</Amount>
    <AddedOn>2009-10-13T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="80b8d4cd-b98a-4195-bf4c-b6a9b5287438">
    <Name>Moldtelecom</Name>
    <DueDate>2009-11-22T00:00:00</DueDate>
    <Amount>789.56</Amount>
    <AddedOn>2009-10-14T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="01a46ca1-f9af-4e1e-9709-14307f93c5cf">
    <Name>Apa Canal</Name>
    <DueDate>2009-12-01T00:00:00</DueDate>
    <Amount>789</Amount>
    <AddedOn>2009-11-30T16:18:00.6066833+02:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="cda0048a-850b-44c4-8d8d-88a929afc61e">
    <Name>TorrentsMd</Name>
    <DueDate>2009-12-05T00:00:00</DueDate>
    <Amount>788</Amount>
    <AddedOn>2009-11-30T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="fa0c9d0c-cc2f-4d19-a2aa-d9fd86f263b2">
    <Name>Moldtelecom</Name>
    <DueDate>2009-12-04T00:00:00</DueDate>
    <Amount>500</Amount>
    <AddedOn>2009-11-15T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="6f63baa9-60cb-4aa7-ac4e-4e12a86930ef">
    <Name>Moldtelecom</Name>
    <DueDate>2009-12-04T00:00:00</DueDate>
    <Amount>159</Amount>
    <AddedOn>2009-11-30T16:24:53.3842929+02:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="46f5acfe-f975-4fed-a8a1-587bbe699193">
    <Name>Moldtelecom</Name>
    <DueDate>2009-12-04T00:00:00</DueDate>
    <Amount>789</Amount>
    <AddedOn>2009-11-16T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="e10aaea7-8960-49f1-8eb8-286cc46ab936">
    <Name>Housing</Name>
    <DueDate>2009-12-04T00:00:00</DueDate>
    <Amount>789</Amount>
    <AddedOn>2009-11-17T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="20146d07-43fe-4eb8-8754-edf9650817bd">
    <Name>Moldtelecom</Name>
    <DueDate>2009-11-19T00:00:00</DueDate>
    <Amount>1.256</Amount>
    <AddedOn>2009-11-01T00:00:00</AddedOn>
    <Status>Paid</Status>
  </Bill>
  <Bill ID="25de062e-a900-41aa-87c7-053273f1602f">
    <Name>Welcome</Name>
    <DueDate>2009-12-24T00:00:00</DueDate>
    <Amount>789</Amount>
    <AddedOn>2009-12-01T20:30:48.3869793+02:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="ef61d83b-749a-43e6-84e9-30b48803e34d">
    <Name>Housing</Name>
    <DueDate>2009-12-08T00:00:00</DueDate>
    <Amount>21</Amount>
    <AddedOn>2009-12-01T20:31:36.1317101+02:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="2df4a9d2-8f11-4298-bc7e-a4ccd015c41d">
    <Name>Moldtelecom</Name>
    <DueDate>2010-01-20T00:00:00</DueDate>
    <Amount>125</Amount>
    <AddedOn>2010-01-19T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="81983972-3bb7-4057-b5ba-fdb83b2a2872">
    <Name>Moldtelecom</Name>
    <DueDate>2010-01-20T00:00:00</DueDate>
    <Amount>125</Amount>
    <AddedOn>2010-01-20T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="afe826b7-f19f-4b19-b908-aa733809d116">
    <Name>Moldtelecom</Name>
    <DueDate>2010-01-20T00:00:00</DueDate>
    <Amount>125</Amount>
    <AddedOn>2010-01-21T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="e1dfa1bb-a4af-4d53-8a7c-445c729df866">
    <Name>Moldtelecom</Name>
    <DueDate>2010-01-20T00:00:00</DueDate>
    <Amount>125</Amount>
    <AddedOn>2010-01-22T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="5489f315-4290-4c6d-9d6f-a888d72c9ba4">
    <Name>Moldtelecom</Name>
    <DueDate>2010-01-20T00:00:00</DueDate>
    <Amount>125</Amount>
    <AddedOn>2010-01-23T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
  <Bill ID="c3e61bba-c875-43cc-aa72-bd48f2100c69">
    <Name>Moldtelecom</Name>
    <DueDate>2010-01-20T00:00:00</DueDate>
    <Amount>125</Amount>
    <AddedOn>2010-01-24T00:00:00</AddedOn>
    <Status>Unpaid</Status>
  </Bill>
</Bills>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Moldova (Republic of) Moldova (Republic of)
Interested in computer science, math, research, and everything that relates to innovation. Fan of agnostic programming, don't mind developing under any platform/framework if it explores interesting topics. In search of a better programming paradigm.

Comments and Discussions