<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1793895915475788035.post2847084804201116749..comments</id><updated>2011-01-28T11:44:30.710Z</updated><category term='launchy'/><category term='Visual Studio'/><category term='javascript ajax json'/><category term='HttpModule'/><category term='Memcached'/><category term='sql'/><category term='Linq To XSD'/><category term='SimpleScriptRunner'/><category term='Linq To Sql'/><category term='TransactionScope'/><category term='migrations'/><category term='MSDTC'/><category term='unit testing'/><category term='NHibernate'/><category term='.net'/><category term='Fluent NHibernate'/><category term='ViewState'/><category term='nhibernate automapping mapping'/><category term='ASP.NET'/><category term='Build process'/><title type='text'>Comments on Adverse conditionals: Scripting changes to Linq To SQL DBML files</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.adverseconditionals.com/feeds/2847084804201116749/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default'/><link rel='alternate' type='text/html' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html'/><author><name>Harry McIntyre</name><uri>http://www.blogger.com/profile/16748782353710296964</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1793895915475788035.post-1414786827862857561</id><published>2011-01-28T11:44:30.710Z</published><updated>2011-01-28T11:44:30.710Z</updated><title type='text'>I haven&amp;#39;t really used L2SQL for a long time, s...</title><content type='html'>I haven&amp;#39;t really used L2SQL for a long time, so if thats working for you, great! I was doing  quite major restructuring in the designer and finding my changes lost. &lt;br /&gt;&lt;br /&gt;You can actually use this approach to generate convention based &amp;#39;code first&amp;#39; style mappings if you prefer. If you read some of my later posts you can see me doing this for NHibernate.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default/1414786827862857561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default/1414786827862857561'/><link rel='alternate' type='text/html' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html?showComment=1296215070710#c1414786827862857561' title=''/><author><name>Harry McIntyre</name><uri>http://www.blogger.com/profile/16748782353710296964</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html' ref='tag:blogger.com,1999:blog-1793895915475788035.post-2847084804201116749' source='http://www.blogger.com/feeds/1793895915475788035/posts/default/2847084804201116749' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1163824123'/></entry><entry><id>tag:blogger.com,1999:blog-1793895915475788035.post-6745804747921666907</id><published>2011-01-27T21:34:54.947Z</published><updated>2011-01-27T21:34:54.947Z</updated><title type='text'>Hi Harry,

I find that creating a partial class wi...</title><content type='html'>Hi Harry,&lt;br /&gt;&lt;br /&gt;I find that creating a partial class with customizations allows changes to be held even if one uses the MS technique of re-linking SQL structures within the designer. One would keep the partial class name consistent and add additional code custumizations to the code. I keep this in a separate file in case I want to re-generate my LINQ2SQL files.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;br /&gt;    partial class StateManagementDataContext : System.Data.Linq.DataContext &lt;br /&gt;    {&lt;br /&gt;        partial void OnCreated()&lt;br /&gt;        {&lt;br /&gt;            this.CommandTimeout = 3600;&lt;br /&gt;        }&lt;br /&gt;    }</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default/6745804747921666907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default/6745804747921666907'/><link rel='alternate' type='text/html' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html?showComment=1296164094947#c6745804747921666907' title=''/><author><name>Tommie Carter</name><uri>http://www.blogger.com/profile/13143010876489234384</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://lh3.google.com/image/tcarternyc/RWEaJ8KeABI/AAAAAAAADSw/y2y4g5aAcRI/s288/cdupanda.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html' ref='tag:blogger.com,1999:blog-1793895915475788035.post-2847084804201116749' source='http://www.blogger.com/feeds/1793895915475788035/posts/default/2847084804201116749' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1226126746'/></entry><entry><id>tag:blogger.com,1999:blog-1793895915475788035.post-3193119704794879885</id><published>2008-08-04T03:56:00.000Z</published><updated>2008-08-04T03:56:00.000Z</updated><title type='text'>Hi Harry,&lt;br&gt;&lt;br&gt;You may find this add-in interest...</title><content type='html'>Hi Harry,&lt;BR/&gt;&lt;BR/&gt;You may find this add-in interesting - it adds the "refresh" functionality that Microsoft forgot to include in the linq2sql dbml designer:&lt;BR/&gt;&lt;BR/&gt;http://www.huagati.com/dbmltools/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default/3193119704794879885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1793895915475788035/2847084804201116749/comments/default/3193119704794879885'/><link rel='alternate' type='text/html' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html?showComment=1217822160000#c3193119704794879885' title=''/><author><name>Kris</name><uri>http://www.blogger.com/profile/01779909152712388764</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.adverseconditionals.com/2008/05/scripting-changes-to-linq-to-sql-dbml.html' ref='tag:blogger.com,1999:blog-1793895915475788035.post-2847084804201116749' source='http://www.blogger.com/feeds/1793895915475788035/posts/default/2847084804201116749' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1872767514'/></entry></feed>
