public SalesforceVisitor(ISalesforceNamingConvention namingConvention, SelectTypeEnum selectType) { NamingConvention = namingConvention; SelectType = selectType; SelectByExpression = new List <string>(); OrderByExpression = new List <string>(); QueryType = QueryTypeEnum.Enumerator; WhereExpression = new List <string>(); }
public SalesforceQuery<T> Query<T>(SelectTypeEnum selectType, out QueryTranslateSalesforceProvider<T> provider) { provider = new QueryTranslateSalesforceProvider<T>(new ModelGeneratorNamingConvention(), selectType); return new SalesforceQuery<T>(provider); }
public SalesforceQuery <T> Query <T>(SelectTypeEnum selectType = SelectTypeEnum.SelectIdAndUseAttachModel) where T : sObject { return(new SalesforceQuery <T>(new SalesforceProvider <T> { SelectType = selectType })); }
protected SalesforceProviderBase(ISalesforceNamingConvention namingConvention, SelectTypeEnum selectType = SelectTypeEnum.SelectIdAndUseAttachModel) { NamingConvention = namingConvention; SelectType = selectType; }
public NullSalesforceProvider(ISalesforceNamingConvention namingConvention, SelectTypeEnum selectType = SelectTypeEnum.SelectIdAndUseAttachModel) : base(namingConvention, selectType) { }
public SalesforceVisitor(SelectTypeEnum selectType) { SelectType = selectType; }
public static SalesforceQuery <T> Query <T>(this ForceClient client, SelectTypeEnum selectType = SelectTypeEnum.SelectAllAndUseAttachModel, ISalesforceNamingConvention namingConvention = null) where T : class { return(new SalesforceQuery <T>(new ForceClientSalesforceProvider <T>(client, namingConvention ?? new ModelGeneratorNamingConvention(), selectType))); }
public ForceClientSalesforceProvider(ForceClient forceClient, ISalesforceNamingConvention objectNameProvider, SelectTypeEnum selectType = SelectTypeEnum.SelectIdAndUseAttachModel) : base(objectNameProvider, selectType) { ForceClient = forceClient; }
protected SalesforceQuery <T> Query <T>(SelectTypeEnum selectType = SelectTypeEnum.SelectIdAndUseAttachModel) where T : sObject { return(Helper.Query <T>(selectType)); }