Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strike>Linq to SQL is deprecated by MS. If you want to stick with MS Frameworks take a look at Entity Framework.</strike> (See comments)</p> <p>I would advice to use NHibernate. If you use their fluent configuration or even auto configuration you can easily build a simple system. As soon as you need something more sophisticated NHibernate has the power you need.</p> <p>Of course this won't be the simplest way to do CURD, however database access is no simple topic and should need some thought.</p> <p>You can google for active record implementations for .net if you want to take the ruby on rails approach, which is quite pragmatic and elegant, too.</p> <p>Edit to provide you with a sample take a look at the NH getting started guide: <a href="http://nhforge.org/wikis/howtonh/your-first-nhibernate-based-application.aspx" rel="nofollow">http://nhforge.org/wikis/howtonh/your-first-nhibernate-based-application.aspx</a></p> <p>It's relatively easy to get going with NHibernate. As you require more sophisticated features you can drill deeper into the framework.</p> <p>Notice that the getting started guide uses XML Mapping Configuration. You can use <a href="http://fluentnhibernate.org/" rel="nofollow">http://fluentnhibernate.org/</a> to fluently configure your mappings like:</p> <pre><code>public class SomeTypeMap : ClassMap&lt;SomeType&gt; { Id(x =&gt; x.Id); Map(x =&gt; x.Property1); Map(x =&gt; x.Property2); // .... Map(x =&gt; x.PropertyN); } </code></pre> <p>The fluent interface exposes all further functions chained on the Map() method.</p> <p>Fluent NH even provides Auto Mapping: <a href="http://wiki.fluentnhibernate.org/Auto_mapping" rel="nofollow">http://wiki.fluentnhibernate.org/Auto_mapping</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload