private static PrimaryCodeGenerationOptions GetPrimaryCodeGenerationOptions(CodeGenerationOptions options)
{
PrimaryCodeGenerationOptions primaryOptions = new PrimaryCodeGenerationOptions();
primaryOptions.EnableDataBinding = options.EnableDataBinding;
primaryOptions.GenerateAsyncCode = options.GenerateAsyncCode;
primaryOptions.GenerateOrderIdentifiers = options.GenerateOrderIdentifiers;
primaryOptions.GenerateProperties = options.GenerateProperties;
primaryOptions.GenerateService = options.GenerateService;
primaryOptions.GenerateDataContracts = options.GenerateDataContracts;
primaryOptions.ClrNamespace = options.ClrNamespace;
return primaryOptions;
}