FrameworkTemplate/SolutionTemplate/Entities/Context/XrmContext.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ using DG.XrmContext; using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Client; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Linq.Expressions; using System.Runtime.Serialization; namespace Entities { public partial class XrmContext : ExtendedOrganizationServiceContext { public XrmContext(IOrganizationService service) : base(service) { } public IQueryable<BusinessUnit> BusinessUnitSet { get { return CreateQuery<BusinessUnit>(); } } public IQueryable<SystemUser> SystemUserSet { get { return CreateQuery<SystemUser>(); } } public IQueryable<Team> TeamSet { get { return CreateQuery<Team>(); } } public IQueryable<TeamMembership> TeamMembershipSet { get { return CreateQuery<TeamMembership>(); } } } } |