C# Class Sitecore.Linqpad.SchemaBuilders.SitecoreSchemaBuilder

Inheritance: ISchemaBuilder
Show file Open project: adamconn/sitecore-linqpad

Public Methods

Method Description
BuildAssembly ( IConnectionInfo cxInfo, AssemblyName assemblyToBuild, string &nameSpace, string &typeName ) : List

Protected Methods

Method Description
AddAssemblyFiles ( Assembly assembly, HashSet assemblies ) : void
AddConstructorCode ( CodeConstructor constructor, ISitecoreConnectionSettings settings ) : void
AddIndexAsProperty ( string name, Type type, CodeTypeDeclaration targetClass ) : void
GetAssemblyFilesToReference ( ISitecoreConnectionSettings settings ) : IQueryable
GetDragText ( LINQPad.Extensibility.DataContext.ExplorerItem item, ISitecoreConnectionSettings settings ) : string
GetIndexNames ( IConnectionInfo cxInfo ) : IEnumerable
GetPropertyNameForLinqExpression ( Type type, string searchFieldName ) : string

Method Details

AddAssemblyFiles() protected method

protected AddAssemblyFiles ( Assembly assembly, HashSet assemblies ) : void
assembly System.Reflection.Assembly
assemblies HashSet
return void

AddConstructorCode() protected method

protected AddConstructorCode ( CodeConstructor constructor, ISitecoreConnectionSettings settings ) : void
constructor System.CodeDom.CodeConstructor
settings ISitecoreConnectionSettings
return void

AddIndexAsProperty() protected method

protected AddIndexAsProperty ( string name, Type type, CodeTypeDeclaration targetClass ) : void
name string
type System.Type
targetClass System.CodeDom.CodeTypeDeclaration
return void

BuildAssembly() public method

public BuildAssembly ( IConnectionInfo cxInfo, AssemblyName assemblyToBuild, string &nameSpace, string &typeName ) : List
cxInfo IConnectionInfo
assemblyToBuild System.Reflection.AssemblyName
nameSpace string
typeName string
return List

GetAssemblyFilesToReference() protected method

protected GetAssemblyFilesToReference ( ISitecoreConnectionSettings settings ) : IQueryable
settings ISitecoreConnectionSettings
return IQueryable

GetDragText() protected method

protected GetDragText ( LINQPad.Extensibility.DataContext.ExplorerItem item, ISitecoreConnectionSettings settings ) : string
item LINQPad.Extensibility.DataContext.ExplorerItem
settings ISitecoreConnectionSettings
return string

GetIndexNames() protected method

protected GetIndexNames ( IConnectionInfo cxInfo ) : IEnumerable
cxInfo IConnectionInfo
return IEnumerable

GetPropertyNameForLinqExpression() protected method

protected GetPropertyNameForLinqExpression ( Type type, string searchFieldName ) : string
type System.Type
searchFieldName string
return string