Command-line version & minor updates

  • Digg
  • Facebook
  • LinkedIn
  • Twitter
 

Thanks to all our beta testers for coming up with these improvements and fixes. We really appreciate your feedback.

Generate code using the command-line

We have modified the XrmLinq.Mapper executable to be executed using command-line. This will allow you to integrate with your build environment and/or batch scripts to automate code generation.

Usage

XrmLinq.Mapper.exe

                  "http://crm.server/mscrmservices/2007/crmservices.asmx"
                  "Crm Organization Name"
                  "Domain"
                  "Username"
                  "Password"
                  Enable Smart Naming // 0 or 1
                  Enable LINQ         // 0 or 1
                  Enable WCF          // 0 or 1
                  "Namespace"
                  "Language"          // "C#" or "VB.NET"
                  "Strip Prefixes"    // comma seperated list
                  "Output File Path"
                  

NOTE: Quote marks (“) are required to correctly separate the arguments. Example above and below are showing arguments in a new line, this is to make reading this article easier, please make sure you write the arguments in a single line.

Example

XrmLinq.Mapper.exehttp://crm.server/mscrmservices/2007/crmservices.asmx

                   "XrmLinqDev01" "XrmLinq" "amattson" "m1cros0f7" 0 1 1
                   "XrmLinq.Examples" "C#" "new,xl"
                   "c:\xrmlinq\dev\examples\dev01.entities.cs"
                  

Updates

  • Fixed: Entity mapper being case-sensitive about the sdk url
  • Fixed: Property name generation
  • Fixed: VB.NET code is back!
  • Fixed: Bug in join queries
  • Added: SendEmail method on the XrmDataContext class
  • Added: Support for OverriddenCreatedOn attribute
  • Added: Support for Business Closures (Calendar & Calendar Rule)
  • Removed: License check removed from the entity mapper

Thanks again to all our clients and beta testers for helping XrmLinq improve!

No Feedback

No feedback yet.

RSS feed for feedback on this post. TrackBack URI

Leave your feedback

© XrmLinq 2009.