Sample for the CreateLinqDbml task.

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Create" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <Import Project="$(MSBuildExtensionsPath)\Sedodream\Sedodream35.tasks"/>

  <Target Name="Create">
<!-- sqlmetal /pluralize 
              /conn:"data source=(local);initial catalog=ibrtest;integrated security=SSPI;packet size=4096" 
              /timeout:15 
              /language:C# 
              /context:IbrTestDataContext 
              /dbml:../LinqObjects\ibrtest.dbml 
              /views 
              /functions 
              /sprocs 
              /serialization:Unidirectional 
              /namespace:Sedodream.Linq.Test 
              -->
    <CreateLinqDbml
      DbmlFileName="ibrahimTest.dbml"
      OutDir="."
      ConnectionString="data source=(local);initial catalog=ibrtest;integrated security=SSPI;packet size=4096"
      Timeout="15"
      Language="C#"
      ContextClassName="IbrTestDataContext"
      IncludeViews="true"
      IncludeSprocs="true"
      IncludeFunctions="true"
      TargetNamespace="Sedodream.Linq.Test"
      >
    </CreateLinqDbml>
    
  </Target>  
  
  
</Project>

Last edited Oct 15, 2007 at 11:31 PM by sayed_hashimi, version 1

Comments

No comments yet.