mcintyre321

Stories submitted by mcintyre321

XML-free …compiled mappings WITHOUT Fluent NHibernate – sample project(www.adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 1 year, 10 months ago

A very lightweight framework for automapping your domain in NHibernate read more...

add a comment |category: |Views: 7

tags: another

Reading CSVs into anonymous types(www.adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 1 year, 10 months ago

Another one of my clever tricks with anonymous types read more...

add a comment |category: |Views: 12

tags: another

Convention based NHibernate mappings part 2(www.adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 1 year, 10 months ago

Part 2, in which we write some code to locate and apply our conventions. read more...

add a comment |category: |Views: 9

tags: another

Using topological sort to order rules in rules engines(www.adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 1 year, 10 months ago

A natty method for ordering object in an enumerable read more...

add a comment |category: |Views: 7

tags: another

XML-free convention based compiled mappings WITHOUT Fluent NHibernate(www.adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 1 year, 10 months ago

A lighter alternative to Fluent NHibernate read more...

add a comment |category: |Views: 10

tags: another

Easy-peasy web dependencies using T4 templates(www.adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 2 years, 4 months ago

A handy method for including dependencies from projects on the web when you don't want to use the whole assembly. read more...

add a comment |category: |Views: 9

tags: another

Easy File System Path Manipulation in C#(higherlogics.blogspot.com)

submitted by mcintyre321mcintyre321(308) 2 years, 6 months ago

FsPath root = "/foo/bar"; var baz = root / "blam" / "baz"; var etc = FsPath.Root("/etc/"); var passwd = etc / "passwd"; read more...

add a comment |category: |Views: 12

tags: another

Xsrf attacks can be really bad(mcintyre321.googlepages.com)

submitted by mcintyre321mcintyre321(308) 2 years, 9 months ago

A case in point read more...

add a comment |category: |Views: 8

tags: another

Checking XML for Semantic Equivalence in C#(codethinked.com)

submitted by mcintyre321mcintyre321(308) 3 years ago

Does what it says on the tin read more...

add a comment |category: |Views: 14

tags: another

Static urls for aspx pages in 20 lines of code(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 3 years, 3 months ago

A nice way to create refactor proof page links read more...

add a comment |category: |Views: 12

tags: another

MigrationScriptGenerator(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 3 years, 3 months ago

a tool for generating SQL scripts for changes (using Open DBDiff), with errors if you do a change that might lose data. It creates a script for you to review. If your changes are non destructive, then it just makes the change script for you. read more...

add a comment |category: |Views: 3

tags: another

Automatically serializing value objects using Fluent NHibernate(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 3 years, 4 months ago

After reading James Gregory's posts on Fluent NHibernate (in particular http://blog.jagregory.com/2009/01/11/fluent-nhibernate-auto-mapping-type-conventions/) I had a quick play and came up with this. read more...

add a comment |category: |Views: 42

tags: another

LinqtoDBMLRunner improvements(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 3 years, 10 months ago

Linq to DBML Runner can now extrapolate single table inheritance structures from the database read more...

add a comment |category: |Views: 4

tags: another

Linq To Sql Schema(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 3 years, 10 months ago

A new library to let you access database structures from c#. Helpful when generating code or writing migrations. read more...

add a comment |category: |Views: 49

tags: another

Try-catching in a single line of code(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 3 years, 11 months ago

Just another silly extension method hack :) read more...

11 comments |category: |Views: 926

tags: another

Scripting changes to Linq To SQL DBML files(adverseconditionals.com)

submitted by mcintyre321mcintyre321(308) 4 years ago

Its very annoying if your generator overwrites all the changes you made using the designer. I've described a process you can use for scripting the changes in order to avoid this problem. read more...

add a comment |category: |Views: 35

tags: another