/// <summary> /// Retrieves all the entities matching the criteria /// </summary> /// <param name="service">Organization Service</param> /// <param name="entityName">Entity Name</param> /// <param name="columns">Columns to be retrieved</param> /// <returns>Returns the Entity Collection</returns> public EntityCollection RetrieveMultiple(IOrganizationService service, string entityName, string[] columns) { return(CrmConnector.RetrieveMultiple(service, entityName, columns, this.expression, this.orders, this.page.Count)); }
/// <summary> /// Execute Multiple Create Request /// </summary> /// <param name="service">Organization Service</param> /// <param name="entityCollection">Entity Collection</param> /// <param name="continueOnError">Continue on Error Indicator</param> /// <returns>Failed Record Count</returns> public int ExecuteMultipleCreateRequest(IOrganizationService service, EntityCollection entityCollection, bool continueOnError) { return(CrmConnector.ExecuteMultipleCreateRequest(service, entityCollection, continueOnError)); }
/// <summary> /// Retrieves the First of Default Entity /// </summary> /// <param name="service">Organization Service</param> /// <param name="entityName">Entity Name</param> /// <param name="columns">Columns to be retrieved</param> /// <returns>Returns the first Entity</returns> public Entity RetrieveFirstOrDefaultEntity(IOrganizationService service, string entityName, string[] columns) { return(CrmConnector.RetrieveFirstOrDefaultEntity(service, entityName, columns, this.expression, this.orders)); }