public SampleDataCollection(ProjectContext projectContext, IMSBuildProject msBuildProject, IExpressionInformationService expressionInformationService)
 {
     this.projectContext = projectContext;
     this.msBuildProject = msBuildProject;
     this.expressionInformationService = expressionInformationService;
     this.sampleDataClrNamespacePrefix = DataSetContext.GetClrNamespacePrefix(DataSetType.SampleDataSet, this.projectContext.RootNamespace);
     this.dataStoreClrNamespacePrefix  = DataSetContext.GetClrNamespacePrefix(DataSetType.DataStoreSet, this.projectContext.RootNamespace);
 }
示例#2
0
 public string GetClrNamespacePrefix(string rootNamespace)
 {
     return(DataSetContext.GetClrNamespacePrefix(this.DataSetType, rootNamespace));
 }