Dynamics365CEOperationsMethods 2.2.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Dynamics365CEOperationsMethods --version 2.2.4
NuGet\Install-Package Dynamics365CEOperationsMethods -Version 2.2.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dynamics365CEOperationsMethods" Version="2.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dynamics365CEOperationsMethods --version 2.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dynamics365CEOperationsMethods, 2.2.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dynamics365CEOperationsMethods as a Cake Addin #addin nuget:?package=Dynamics365CEOperationsMethods&version=2.2.4 // Install Dynamics365CEOperationsMethods as a Cake Tool #tool nuget:?package=Dynamics365CEOperationsMethods&version=2.2.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Dynamics365CEOperationsMethods
How to use This Extension
- First Install it from Nuget Package From Here or write in your Package Manager Console:
NuGet\Install-Package Dynamics365CEOperationsMethods -Version 2.2.4
- Second using this namespace:
using OS.DynCrm.Methods;
- After That you can build your Query Expresion by using this method:
var x = QueryExpressionExtension.BuildQueryExpression("contact", new Microsoft.Xrm.Sdk.Query.ColumnSet(true));
- To Execute the Query which you built by using Library, you should run the below:
QueryExpressionExtension.RetrieveMultiData(X, connect);
Just know that X is your QueryExpression, and Connect variable comming fromIOrganizationService
Methods that you can use, for example:
- Build Query and Retrieve Example:
QueryExpression query = QueryExpression.BuildQueryExpression("contact", new ColumnSet("firstname"),LogicalOperator.And, new List<ConditionExpression>()
{
new ConditionExpression("lastname", ConditionOperator.Equal, "John"),
});
var result= QueryExpressionExtension.RetrieveMultiData(query, _context);
_context
here is the IOrganizationService
connection from Dynamics CRM Organization.
- Retrieve Single Data Example:
var data = RetrieveExtension.RetrieveSingle("contact",new Guid(id), new ColumnSet("firstname"),_context);
return data.GetAttributeValue<string>("firstname");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
- Add New Features to get Metadata