예제 #1
0
        public TitleEventStatusAssignOfficialRecordGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(p => p.TitleEventStatusAssignorId);
            Field(p => p.Description, true);
        }
예제 #2
0
        public OfficialRecordDocumentGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            InitializeGraphTypes();
            InitialzieListGraphTypes();
        }
        public FileReferenceMutation(IEFDataStore dataStore)
        {
            Field <UserProfileGraphType>
            (
                "deleteProfile",
                arguments: new QueryArguments
                (
                    QueryArgumentFactory.Create <NonNullGraphType <IntGraphType> >("profileId", "Id of user's profile"),
                    QueryArgumentFactory.Create <NonNullGraphType <IntGraphType> >("userId", "Id of user")
                ),
                resolve: context =>
            {
                var profileId = context.GetArgument <int>("profileId");
                var userId    = context.GetArgument <int>("userId");
                return(dataStore.DeleteEntity <UserProfile>(p => p.UserId == userId && p.ProfileId == profileId));
            }
            );

            //Field<UserProfileInputType>
            //(
            //    "UpdateProfile",
            //    arguments: new QueryArguments
            //    (
            //        new QueryArgument<NonNullGraphType<UserProfileInputType>> { Name = "userprofile" }
            //    ),
            //    resolve: context =>
            //    {
            //        var userProfile = context.GetArgument<UserProfile>("userprofile");
            //        return dataStore.UpdateEntity(userProfile);
            //    }
            //);
        }
예제 #4
0
        public PolicyPlattedLegalMqlGraphType(IEFDataStore efDataStore)
        {
            _efDataStore = efDataStore;

            Field(p => p.PlatReferenceId);
            Field(p => p.PolicyId);
            Field(p => p.SubdivisionLevelId);
        }
        public ChainOfTitleNotesGraphType(IEFDataStore efDataStore)
        {
            _efDataStore = efDataStore;

            Name        = nameof(ChainOfTitleNotesGraphType);
            Description = nameof(ChainOfTitleNotesGraphType);

            InitializePrimitiveTypes();
            InitializeComplexTypes();
        }
예제 #6
0
        public UserProfileGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Name        = nameof(UserProfileGraphType);
            Description = "UserProfileGraphType";

            InitializePrimitiveTypes();
            InitializeComplexTypes();
        }
        public TitleEventPartyGraphType(IEFDataStore dataStore)
        {
            Field(x => x.TitleEventId);
            Field(x => x.PartyId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this party",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
        public TitleEventGovtLotLegalMqlGraphType(IEFDataStore dataStore)
        {
            Field(p => p.UnplattedReferenceId);
            Field(p => p.GovernmentLotId);
            Field(p => p.TitleEventId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this gov lot lega mql",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
        public MortgageTitleEventGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(p => p.TitleEventId);
            Field(p => p.MinNumberId);
            Field <StringGraphType>(
                FieldNames.LenderName,
                "The lender's name for this mortgage title event",
                null,
                fieldContext => fieldContext.Source.LenderName.TrimIfNotNull()
                );
        }
예제 #10
0
        public TitleEventLegalEntityMqlGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(x => x.TitleEventId);
            Field(x => x.LegalEntityNameId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this legal entity mql",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
        public TitleEventSectionLegalMqlGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(p => p.TitleEventId);
            Field(p => p.SectionBreakdownCodeId);
            Field(p => p.UnplattedReferenceId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this section legal mql",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
        public NameSearchListItemGraphType(IEFDataStore dataStore)
        {
            Field(p => p.NameSearchListItemId);
            Field(p => p.LegalEntityNameId);
            Field(p => p.ChainOfTitleId);
            Field(p => p.NameSearchStatusCodeId);
            Field(p => p.ReferenceTitleEventId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.GeographicLocale,
                "Geographic locale for this file reference",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.ReferenceTitleEventId, context.CancellationToken));
        }
        public TitleSearchOriginationGraphType(IEFDataStore dataStore)
        {
            Field(p => p.TitleEventId);
            Field(p => p.TitleSearchOriginationId);
            Field(p => p.OrderDate);
            Field(p => p.OrderReference, true);
            Field(p => p.FileReferenceId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this title origination",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
        public TitleEventOrderTrackingGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(p => p.TitleEventId);
            Field(p => p.TitleEventOrderId);
            Field(p => p.DeliveryOrderInfoId);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this tracked order",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
예제 #15
0
        public TitleEventNotesGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(p => p.TitleEventId);
            Field(p => p.UserId, true);
            Field(p => p.TimeStamp);
            Field(p => p.Message, true);

            FieldAsync <TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                "Title event associated with this title event note",
                null,
                context => dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == context.Source.TitleEventId, context.CancellationToken));
        }
예제 #16
0
        public TitleEventTypeGraphType(IEFDataStore dataStore)
        {
            _dataStore = dataStore;

            Field(p => p.TitleEventTypeId);
            Field(p => p.EventCategoryId);
            Field <StringGraphType>(
                FieldNames.Description,
                "Description of title event type",
                null,
                fieldContext => fieldContext.Source.Description.TrimIfNotNull()
                );
            Field <StringGraphType>(
                FieldNames.TitleEventCode,
                "Title event code for this title event type",
                null,
                fieldContext => fieldContext.Source.TitleEventCode.TrimIfNotNull()
                );
        }
예제 #17
0
        public TitleQuery(IEFDataStore dataStore)
        {
            Name        = "TitleQuery";
            Description = Resources.Queries_for_the_Title_Event_table;

            FieldAsync <ObjectGraphTypes.TitleEventGraphType, TitleEvent>
            (
                FieldNames.TitleEvent,
                Resources.Gets_a_single_title_event_record_by_id,
                new QueryArguments
                (
                    new QueryArgument <IntGraphType>
            {
                Name        = ArgumentNames.TitleEventId,
                Description = "The title event primary key"
            }
                ),
                context =>
            {
                var titleEventId = context.GetArgument <int>(ArgumentNames.TitleEventId);
                return(dataStore.GetEntityAsync <TitleEvent>(p => p.TitleEventId == titleEventId, context.CancellationToken));
            });
        }
 public NameSearchStatusCodeGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
 public ExaminationStatusTypeGraphType(IEFDataStore dataStore)
 {
     _dataStore = dataStore;
     Field(p => p.ExaminationStatusTypeId);
     Field(p => p.Description, true);
 }
 public DeliveryOrderInfoGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
 public TypeOfInstrumentGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
예제 #22
0
 public NameSearchListReasonCodeGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
 public PolicyOrderGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
예제 #24
0
 public PolicyGovtLotLegalMqlGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
예제 #25
0
 public PartyGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
예제 #26
0
 public PolicyRestrictionTypeGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
예제 #27
0
 public PolicySectionLegalMqlGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
 public OwnerBuyerRelationshipGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
 public TitleEventDocumentGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }
 public RelatedTaxFolioGraphType(IEFDataStore efDataStore)
 {
     _efDataStore = efDataStore;
 }