VeeFriends.CRM
2.0.91
See the version list below for details.
dotnet add package VeeFriends.CRM --version 2.0.91
NuGet\Install-Package VeeFriends.CRM -Version 2.0.91
<PackageReference Include="VeeFriends.CRM" Version="2.0.91" />
paket add VeeFriends.CRM --version 2.0.91
#r "nuget: VeeFriends.CRM, 2.0.91"
// Install VeeFriends.CRM as a Cake Addin #addin nuget:?package=VeeFriends.CRM&version=2.0.91 // Install VeeFriends.CRM as a Cake Tool #tool nuget:?package=VeeFriends.CRM&version=2.0.91
VeeFriends.CRM
This package has nothing todo with VeeFriends.com or Gary Vaynerchuk or NFTs.
Installation
$ dotnet add package VeeFriends.CRM
Usage
This SDK is a very opinionated OData Microsoft Dynamics 365 SDK. It is designed to be used with your own CRM instance.
- Supply your CRM host
- Supply your CRM credentials
- Supply your CRM entities
- Supply your CRM anayltics key (power apps) (optional)
- Build the client
var client = new CrmClientBuilder()
.AddCrmVersion()
.AddCrmHost(host)
.AddCredentials(clientId, clientSecret, tenantId)
.AddEntity<SampleUserModel>()
.AddAnalytics(anayltics)
.Build();
Next, get your entity context.
var context = client.For<SampleUserModel>();
Note: In order for models to be used with the SDK, they must inherit from
CrmModel
and be supplied with a class attribute[CrmEntity('contacts', 'contactid')]
The first parameter is the collection name and the second is the primary key or identifier of the entity.
Here's an example contact entity.
[CrmEntity("contacts", "contactid")]
public class SampleUserModel : CrmModel
{
[JsonPropertyName("contactid")]
public Guid Id { get; set; }
[JsonPropertyName("firstname")]
public string? FirstName { get; set; }
[JsonPropertyName("lastname")]
public string? LastName { get; set; }
}
Next, you can use the context to query your CRM.
var users = await context
.QueryAsync(x => x.FirstName == "Gary");
Feel free to explore the other methods.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- EngagementInsightsAnalytics (>= 0.1.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection (>= 9.0.0)
- Microsoft.Identity.Client (>= 4.66.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on VeeFriends.CRM:
Package | Downloads |
---|---|
VeeFriends.Reporting.Contacts
VeeFriends Series 1 reporting SDK. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.1 | 1,600 | 12/11/2024 |
2.0.91 | 68 | 12/11/2024 |
2.0.90 | 1,682 | 11/26/2024 |
2.0.89 | 91 | 11/26/2024 |
2.0.88 | 94 | 11/26/2024 |
2.0.87 | 522 | 11/22/2024 |
2.0.86 | 81 | 11/22/2024 |
2.0.85 | 75 | 11/22/2024 |
2.0.84 | 83 | 11/22/2024 |
2.0.83 | 5,894 | 10/25/2024 |
2.0.82 | 1,411 | 10/4/2024 |
2.0.81 | 1,439 | 9/5/2024 |
2.0.80 | 1,392 | 8/26/2024 |
2.0.79 | 101 | 8/26/2024 |
2.0.78 | 98 | 8/26/2024 |
2.0.77 | 97 | 8/26/2024 |
2.0.76 | 97 | 8/26/2024 |
2.0.75 | 2,040 | 8/19/2024 |
2.0.74 | 172 | 8/19/2024 |
2.0.73 | 113 | 8/19/2024 |
2.0.72 | 356 | 8/17/2024 |
2.0.71 | 132 | 8/17/2024 |
2.0.70 | 123 | 8/17/2024 |
2.0.69 | 125 | 8/17/2024 |
2.0.68 | 132 | 8/17/2024 |
2.0.67 | 137 | 8/17/2024 |
2.0.66 | 121 | 8/16/2024 |
2.0.65 | 121 | 8/16/2024 |
2.0.64 | 6,122 | 7/11/2024 |
2.0.63 | 85 | 7/11/2024 |
2.0.62 | 95 | 7/11/2024 |
2.0.61 | 97 | 7/11/2024 |
2.0.60 | 102 | 7/11/2024 |
2.0.59 | 6,727 | 5/2/2024 |
2.0.58 | 3,357 | 4/17/2024 |
2.0.57 | 1,146 | 3/18/2024 |
2.0.56 | 120 | 3/15/2024 |
2.0.55 | 7,389 | 2/7/2024 |
2.0.54 | 1,717 | 1/23/2024 |
2.0.53 | 4,477 | 11/29/2023 |
2.0.52 | 114 | 11/29/2023 |
2.0.51 | 125 | 11/29/2023 |
2.0.50 | 127 | 11/29/2023 |
2.0.49 | 2,546 | 10/10/2023 |
2.0.48 | 6,470 | 8/8/2023 |
2.0.47 | 149 | 7/7/2023 |
2.0.45 | 2,972 | 6/29/2023 |
2.0.44 | 148 | 6/29/2023 |
2.0.43 | 143 | 6/29/2023 |
2.0.42 | 138 | 6/29/2023 |
2.0.41 | 160 | 6/29/2023 |
2.0.40 | 159 | 6/29/2023 |
2.0.39 | 161 | 6/28/2023 |
2.0.38 | 141 | 6/28/2023 |
2.0.37 | 345 | 6/27/2023 |
2.0.36 | 137 | 6/27/2023 |
2.0.35 | 202 | 6/27/2023 |
2.0.34 | 133 | 6/27/2023 |
2.0.33 | 151 | 6/26/2023 |
2.0.32 | 181 | 6/9/2023 |
2.0.30 | 150 | 6/9/2023 |
2.0.29 | 147 | 6/9/2023 |
2.0.28 | 143 | 6/9/2023 |
2.0.27 | 157 | 6/9/2023 |
2.0.26 | 144 | 6/9/2023 |
2.0.25 | 156 | 6/9/2023 |
2.0.22 | 156 | 6/9/2023 |
2.0.21 | 242 | 5/31/2023 |
2.0.19 | 217 | 5/26/2023 |
2.0.18 | 149 | 5/26/2023 |
2.0.17 | 153 | 5/26/2023 |
2.0.16 | 150 | 5/25/2023 |
2.0.15 | 156 | 5/24/2023 |
2.0.14 | 160 | 5/24/2023 |
2.0.13 | 156 | 5/24/2023 |
2.0.12 | 155 | 5/24/2023 |
2.0.11 | 147 | 5/24/2023 |
2.0.10 | 145 | 5/24/2023 |
2.0.9 | 145 | 5/24/2023 |
2.0.8 | 148 | 5/24/2023 |
2.0.7 | 146 | 5/24/2023 |
2.0.6 | 139 | 5/24/2023 |
2.0.5 | 155 | 5/24/2023 |
2.0.4 | 157 | 5/24/2023 |
2.0.3 | 133 | 5/24/2023 |