Dynamics365CEOperationsMethods 2.2.4

There is a newer version of this package available.
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
#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

Dynamics365CEOperationsMethods

How to use This Extension

  1. First Install it from Nuget Package From Here or write in your Package Manager Console:

NuGet\Install-Package Dynamics365CEOperationsMethods -Version 2.2.4

  1. Second using this namespace: using OS.DynCrm.Methods;
  2. After That you can build your Query Expresion by using this method:
var x = QueryExpressionExtension.BuildQueryExpression("contact", new Microsoft.Xrm.Sdk.Query.ColumnSet(true));
  1. 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 from IOrganizationService
Methods that you can use, for example:
  1. 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.

  1. Retrieve Single Data Example:
var data = RetrieveExtension.RetrieveSingle("contact",new Guid(id), new ColumnSet("firstname"),_context);
return data.GetAttributeValue<string>("firstname");
Product 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.

Version Downloads Last updated
2.2.5 341 11/19/2022
2.2.4 297 11/16/2022

- Add New Features to get Metadata