puredotnetcoder.blogspot.com
Pure Dot Net Coder: April 2012
http://puredotnetcoder.blogspot.com/2012_04_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Friday, 27 April 2012. Using filters for unmapped columns in NHibernate. Using filters in NHibernate is a little known feature to new users. Filters can be applied in quite few places. This blog shows us how we can apply a filter onto the class definition:-. Class name="Domain.Model.BlogPost, Domain.Model" table="Posts" where="(IsLive=1)" . /class. Or ALL blogs regardless of the flag. Return live blogs session.EnableFilter("BlogFlag")....To th...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: March 2011
http://puredotnetcoder.blogspot.com/2011_03_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Friday, 4 March 2011. Find out when your SQL Server databases were last backed up. Would you like to know when any of your SQL backups were last backed up? Or did you want to verify that a back up actually ran? Why now you can! Tempdb' group by d.name, b.type, b.backup size. This produces the following:-. Thursday, 3 March 2011. Find out how big each table is for a SQLdatabase. Select a.table name, a.row count, count(*) as col count, a...Creat...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: September 2013
http://puredotnetcoder.blogspot.com/2013_09_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Wednesday, 11 September 2013. When using MVC and model binding from a form post there comes a time when your database doesn't allow nulls but you find that any empty string from a form post comes back as null. This might be a PITA if you are directly saving the posted form back to the database and don't want to manually convert string null's to empty strings. Another way is to do it at a global level is to create your own model binder. QueryOv...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: Mixed mappings with HBM and mapping by code
http://puredotnetcoder.blogspot.com/2011/07/mixed-mappings-with-hbm-and-mapping-by.html
Pure Dot Net Coder. All things related to the .net framework. Wednesday, 27 July 2011. Mixed mappings with HBM and mapping by code. Are you ready to embrace and upgrade to NHibernate 3.2 but are unsure about converting all your project hbm.xml files to the new mapping by code syntax? It is possible to mix and match; that is use your current projects xml files and start to use the mapping by code. So if you find yourself in this position:-. Then in your start up code:-. Var mapper = new ModelMapper(); map...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: CasperJS Kendo UI Tabstrip
http://puredotnetcoder.blogspot.com/2014/05/casperjs-kendo-ui-tabstrip.html
Pure Dot Net Coder. All things related to the .net framework. Tuesday, 13 May 2014. CasperJS Kendo UI Tabstrip. Whilst playing with CasperJS I needed a way to mimic pressing a mouse click on a Kendo tabstrip. I messed around with all kind of selectors but could not get it to work. Fortunately evaluate came to my rescue. Div id="tabstrip" ul li Lm3 Result /li li Results by Location /li li Payroll Analysis /li li Supplier Analysis /li li Supplier Breakdown /li li Supplier Locations /li /ul /div. Are you re...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: January 2011
http://puredotnetcoder.blogspot.com/2011_01_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Saturday, 1 January 2011. Create a database called TreeTest and open QA and execute Setup SQL. Now you are ready to go. Simply select the test you with to run, then. Copy the code below, paste it into Query Analyser and hit F5! The tree is structured in this way. Test 1 - NestedSet ConvertToAdjacency. Converts a nested set to a Adjacency model. Exec Reset exec NestedSet ConvertToAdjacency. Test 2 - NestedSet DeleteAndClose. Test 9 - NestedSet ...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: December 2011
http://puredotnetcoder.blogspot.com/2011_12_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Tuesday, 13 December 2011. Automatically trim html controls in a asp.net mvc project. Mailto:/ email@email.com '. Href=' http:/ www.wildesoft.net '. With asp.net MVC we can override the default model binder which performs a trim before the value gets to the action method on a controller. All you need to do is to add the following class to your mvc project:-. Public class TrimModelBinder : DefaultModelBinder { protected override void SetPropert...
puredotnetcoder.blogspot.com
Pure Dot Net Coder: November 2010
http://puredotnetcoder.blogspot.com/2010_11_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Wednesday, 24 November 2010. Pro Silverlight 3 in C# by Matthew Macdonald, Apress. I can honestly say that Matthew Macdonald and Apress have created a book that covers almost every aspect of Silverlight 3 in C#. I had not used Silverlight before and was not sure whether this book would be aimed at beginners. I can truthfully say that I can recommend this book 100%. Subscribe to: Posts (Atom). Pro Silverlight 3 in C# by Matthew Macdonald, Apre.
puredotnetcoder.blogspot.com
Pure Dot Net Coder: September 2011
http://puredotnetcoder.blogspot.com/2011_09_01_archive.html
Pure Dot Net Coder. All things related to the .net framework. Thursday, 22 September 2011. Mapping by Code - Part 1. Over the next few weeks I am going to put together a sample application showing how you would build a project using Mapping by code. Why do this? Well firstly there are not too many examples on the web yet about NHibernate 3.2 and mapping by code and secondly I am running out of Blog ideas :). Gold" - you get a better seat and a cup of tea. Silver" - you get a seat but no tea. Please note ...
lukeclements.co.uk
Luke Clements Training Partnership | Luke Clements
http://www.lukeclements.co.uk/training
Luke Clements is the Cerebra Professor of Law at Leeds University and is a solicitor. Luke Clements Training Partnership. Luke Clements is a partner in the Luke Clements Training Partnership. The partnership provides social care rights and community care law training. Is a socio-legal training partnership. It delivers training on a broad range of community care and social care rights subjects including:. The Care Act 2014. The Social Services and Well-being (Wales) Act 2014. Disabled Children and the Law.
SOCIAL ENGAGEMENT