Delegate A/S

SolutionUpdateCustomContext

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
#load @"_Config.fsx"
open _Config
open DG.Daxif
open DG.Daxif.Common.Utility

let xrmContext = Path.toolsFolder ++ @"XrmContext\XrmContext.exe"
let businessDomain = Path.solutionRoot ++ @"BusinessDomain"

Solution.GenerateCSharpContext(Env.dev, xrmContext, businessDomain,
  solutions = [
    SolutionInfo.name
    ],
  entities = [
    // eg. "systemuser"
    ],
  extraArguments = [
    "deprecatedprefix", "ZZ_"
    ])
module _Config
namespace DG
namespace DG.Daxif
namespace DG.Daxif.Common
module Utility

from DG.Daxif.Common
val xrmContext : string

Full name: GenerateCSharpContext.xrmContext
module Path

from _Config
val toolsFolder : string

Full name: _Config.Path.toolsFolder
val businessDomain : string

Full name: GenerateCSharpContext.businessDomain
val solutionRoot : string

Full name: _Config.Path.solutionRoot
type Solution =
  private new : unit -> Solution
  static member Count : env:Environment * solutionName:string * ?logLevel:LogLevel -> unit
  static member Create : env:Environment * name:string * displayName:string * publisherPrefix:string * ?logLevel:LogLevel -> unit
  static member CreatePublisher : env:Environment * name:string * displayName:string * prefix:string * ?logLevel:LogLevel -> unit
  static member EnablePluginSteps : env:Environment * solutionName:string * ?enable:bool * ?logLevel:LogLevel -> unit
  static member Export : env:Environment * solutionName:string * outputDirectory:string * managed:bool * ?extended:bool * ?deltaFromDate:'a0 * ?logLevel:LogLevel -> unit
  static member Extract : solutionFile:string * customizationsFolder:string * xmlMappingFile:string * projectFile:string * ?logLevel:LogLevel -> (LogLevel -> unit)
  static member GenerateCSharpContext : env:Environment * pathToXrmContext:string * outputDir:string * ?solutions:string list * ?entities:string list * ?extraArguments:(string * string) list * ?logLevel:LogLevel -> unit
  static member GenerateTypeScriptContext : env:Environment * pathToXDT:string * outputDir:string * ?solutions:string list * ?entities:string list * ?extraArguments:(string * string) list * ?logLevel:LogLevel -> unit
  static member Import : env:Environment * pathToSolutionZip:string * ?activatePluginSteps:bool * ?extended:bool * ?logLevel:LogLevel -> unit
  ...

Full name: DG.Daxif.Solution
static member Solution.GenerateCSharpContext : env:Environment * pathToXrmContext:string * outputDir:string * ?solutions:string list * ?entities:string list * ?extraArguments:(string * string) list * ?logLevel:LogLevel -> unit
module Env

from _Config
val dev : Environment

Full name: _Config.Env.dev
module SolutionInfo

from _Config
val name : string

Full name: _Config.SolutionInfo.name