Home   Free Applications   Code Snippets   Fun Stuff 
 
 You are here: Home > Free Applications > Templates
Register   Login  

 
Site Navigation


Print Print this page
Email E-mail this page
Bookmark Add to Favorites

 
File Name: ORMapper.Templates.2.6.zip
File Size: 26,395 bytes
Downloaded: 2231 times
Posted by pwelter34 on Monday, April 04, 2005 (EST)
* Removed Prefix property from mapping template.
* Added CascadeDelete,LazyLoad,shortenPropertyName property to mapping template (Thanks David Neal)
* Added support for tracking member names to prevent duplicates
* Changed GetNullValue to -1 for n

ORMapper.Templates.2.6

1)  Removed Prefix property from mapping template.
2)  Added CascadeDelete property to mapping template.
3)  Added LazyLoad property to mapping template.
4)  Added shortenPropertyName property to mapping template (Thanks David Neal)
5)  Added support for tracking member names to prevent duplicates
6)  Changed GetNullValue to -1 for numbers
7)  Imporved ManyToMany member naming including duplicate detection. (Thanks Steven A. Smith)
8)  Added support for ManyToMany relationships where the primary and secondard tables are the same.
9)  Added Delete(whereClause) and DeleteByKey(primaryKey) method to the generated classes default methods
10) Added Update(whereClause, updateClause) method to the generated classes default methods
11) Added support to initialize member variables with the nullValue when set (Thanks David Neal)
12) Added support for c# classes to use allias data types (Thanks David Neal)
13) Update vb class generator to be more inline with the c# generator

Click here to download this file
Average Rating:

Comments:

Awesome!
By jensenkd on Monday, April 11, 2005 (EST)

I love how great these templates are getting.

1 thing I noticed is in VB.NET templates, some of my tables are keywords in VB.NET

For example, I have a Module table and an Event table.

I'm wondering if there is a way in Codesmith that you could determine if the table name is a keyword and then add [] around it?

Keep up the great work!

Kevin

Reply to this Comment

Where do you place your mapping.config file?
By jensenkd on Tuesday, April 19, 2005 (EST)

I'm wondering what would be the best practice?

Kevin

Reply to this Comment

alias attribute on entity element
By pschaef on Wednesday, May 25, 2005 (EST)

Thanks for the very nice templates! 

I made a small change to Internal.VB.Class.cst -- I look for an alias element on the relation entity in the mapping file. It felt “out of place” to me that I could alias other items in a class but not the collection property.

I know that this element isn't in Paul Wilson's schema, but I wanted to post a little note in case others liked the idea.

Reply to this Comment



Top
 
CNET News.com


Tech news and business reports by CNET News.com. Focused on information technology, core topics include computers, hardware, software, networking, and Internet media.

  • Security Bites 113: The security of Chrome
    Billy Hoffman of HP Web Security talks about Google's new browser, how it handles Javascript and what it means for Web 2.0 security.

  • Are Demo and TechCrunch50 fragmenting their audiences?
    With both events scheduled to start Monday, many press, as well as venture capitalists and others are having to choose which one to attend.

  • A user guide to following DemoFall and TechCrunch50
    More than 100 products are going to be introduced during the week of September 8. Will they be any good?

  • What's McCain doing in front of my junior high?
    Speculation has it that it was a goof-up that had the Republican nominee standing in front of Walter Reed Middle School during his acceptance speech. In any case, the image brings back memories for CNET News' Ina Fried.

  • Microsoft tries to reclaim Windows' image
    After years of letting Apple's attack ads go unanswered, software maker sets out on difficult, costly journey of trying to take back control of what Windows stands for.


    Copyright 1995-2008 CNET Networks, Inc. All rights reserved. Last Refreshed 9/5/2008 3:27:04 PM
  •