Ejemplo n.º 1
0
        /// <summary>
        /// Builds the model.
        /// </summary>
        /// <returns>The xdb model</returns>
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("HeatMapModel", new XdbModelVersion(1, 0));

            modelBuilder.DefineEventType <ClickEvent>(false);
            return(modelBuilder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder("FaceLoginDefineModel", new XdbModelVersion(1, 0));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            builder.DefineFacet <Contact, AdhereToFaceLoginFacet>(AdhereToFaceLoginFacet.DefaultFacetKey);
            return(builder.BuildModel());
        }
Ejemplo n.º 3
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("PurchaseOutcome", new XdbModelVersion(1, 0));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineEventType <PurchaseOutcome>(false);
            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 4
0
        private static XdbModel BuilddCustomModel()
        {
            XdbModelBuilder xdbModelBuilder = new XdbModelBuilder("ChatBotInteractionFacetModel", new XdbModelVersion(1, 0));

            xdbModelBuilder.ReferenceModel(CollectionModel.Model);
            xdbModelBuilder.DefineFacet <Interaction, ChatBotAnalytics>(ChatBotAnalytics.DefaultFacetKey);
            return(xdbModelBuilder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder(typeof(SalesforceConnectCollectionModelEx).FullName, new XdbModelVersion(1, 0));

            builder.DefineFacet <Contact, SalesforceAccountInformationFacet>(SalesforceAccountInformationFacet.DefaultFacetKey);
            builder.ReferenceModel(SalesforceConnectCollectionModel.Model);
            return(builder.BuildModel());
        }
Ejemplo n.º 6
0
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder("CollectionModel", new XdbModelVersion(1, 0));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            builder.DefineFacet <Interaction, HashTagFacet>(HashTagFacet.FacetName);
            return(builder.BuildModel());
        }
Ejemplo n.º 7
0
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder("xConnectDemoModel", new XdbModelVersion(1, 0));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);

            return(builder.BuildModel());
        }
Ejemplo n.º 8
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("FormsModel", new XdbModelVersion(1, 0));

            modelBuilder.DefineEventType <FormSubmission>(false);
            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 9
0
        private static XdbModel CreateModel()
        {
            XdbModelBuilder builder = new XdbModelBuilder("CustomFacets.Xconnect.CustomerCollectionModel", new XdbModelVersion(1, 0));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            builder.DefineFacet <Contact, CustomerFacets>(CustomerFacets.DefaultFacetKey);
            return(builder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder(CollectionConst.SitecoreCinema.CollectionModelNames.CinemaBusinessMarketingCollectionModel, new XdbModelVersion(1, 1));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, Facets.CinemaBusinessMarketing>(MarketingConst.FacetKeys.CinemaBusinessMarketing);

            return(modelBuilder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("MySiteCollectionModel", new XdbModelVersion(1, 0));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, BusinessIndustry>(BusinessIndustry.DefaultFacetKey);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 12
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("DocumentationModel", new XdbModelVersion(1, 0));

            // Facets and events here
            modelBuilder.DefineFacet <Contact, UserSettings>(FacetNames.UserSettings);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 13
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder xdbModelBuilder = new XdbModelBuilder("Examples.XConnect.CopyModel", new XdbModelVersion(1, 0));

            xdbModelBuilder.ReferenceModel(CollectionModel.Model);
            xdbModelBuilder.ReferenceModel(CustomDataModel.Model);
            xdbModelBuilder.ReferenceModel(EmailCollectionModel.Model);
            return(xdbModelBuilder.BuildModel());
        }
Ejemplo n.º 14
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder(CollectionConst.SitecoreCinema.CollectionModelNames.CinemaDetailsCollectionModel, new XdbModelVersion(1, 1));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, CinemaDetails>(CollectionConst.FacetKeys.CinemaDetails);

            return(modelBuilder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("ContactModel", new XdbModelVersion(1, 0));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, RfmContactFacet>(RfmContactFacet.DefaultFacetKey);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 16
0
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder(typeof(DemoModel).FullName, new XdbModelVersion(1, 0));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            builder.DefineFacet <Contact, DemoFacet>(DemoFacet.DefaultFacetKey);

            return(builder.BuildModel());
        }
Ejemplo n.º 17
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("IdentifiedGoalDataModel", new XdbModelVersion(0, 1));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineEventType <IdentifiedGoal>(false);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 18
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("SampleModel", new XdbModelVersion(1, 0));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, FrequentFlyerInfo>(FrequentFlyerInfo.DefaultFacetKey);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 19
0
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder("Sidekick.XConnect.XConnect", new XdbModelVersion(0, 1));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            builder.DefineFacet <Contact, SampleInfo>(SampleInfo.DefaultFacetKey);

            return(builder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("XConnectSmogModel", new XdbModelVersion(0, 1));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, SmogInformationFacet>(SmogInformationFacet.DefaultFacetKey);

            return(modelBuilder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            var modelBuilder = new XdbModelBuilder(ModelKey, new XdbModelVersion(0, 1));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Interaction, SampleOrder>(SampleOrder.DefaultFacetKey);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 22
0
        private static XdbModel BuilddCustomModel()
        {
            XdbModelBuilder xdbModelBuilder = new XdbModelBuilder("HubspotScoreFacetModel", new XdbModelVersion(1, 0));

            xdbModelBuilder.ReferenceModel(CollectionModel.Model);
            xdbModelBuilder.DefineFacet <Contact, ScoreFacet>(ScoreFacet.DefaultFacetKey);
            xdbModelBuilder.DefineFacet <Contact, ScoreNameFacet>(ScoreNameFacet.DefaultFacetKey);
            return(xdbModelBuilder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            var modelBuilder = new XdbModelBuilder("GoogleApiModel", new XdbModelVersion(1, 0));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            modelBuilder.DefineFacet <Contact, GoogleApiFacet>(GoogleApiFacet.FacetName);
            modelBuilder.DefineEventType <CustomEvent>(true);

            return(modelBuilder.BuildModel());
        }
        public static XdbModel CreateModel()
        {
            var builder = new XdbModelBuilder(typeof(AccountCollectionModel).FullName, new XdbModelVersion(1, 0));

            builder.ReferenceModel(CollectionModel.Model);
            builder.DefineFacet <Contact, SportName>(SportName.DefaultKey);
            builder.DefineFacet <Contact, SportType>(SportType.DefaultKey);

            return(builder.BuildModel());
        }
Ejemplo n.º 25
0
        private static XdbModel InitModel()
        {
            var builder = new XdbModelBuilder("NetflixNextMovie", new XdbModelVersion(1, 0));

            builder.ReferenceModel(CollectionModel.Model);
            builder.DefineEventType <Goal>(false);
            builder.DefineFacet <Contact, MovieRecommendationFacet>(MovieRecommendationFacet.DefaultFacetKey);

            return(builder.BuildModel());
        }
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder("xConnectIntroModel", new XdbModelVersion(1, 0));

            builder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            builder.DefineFacet <Contact, SalesRegion>(SalesRegion.FacetName);
            builder.DefineEventType <LeadCaptured>(true);

            return(builder.BuildModel());
        }
Ejemplo n.º 27
0
        private static XdbModel BuildModel()
        {
            XdbModelBuilder modelBuilder = new XdbModelBuilder("ConsentModel", new XdbModelVersion(1, 0));

            modelBuilder.ReferenceModel(Sitecore.XConnect.Collection.Model.CollectionModel.Model);
            // Facets and events here
            modelBuilder.DefineFacet <Contact, ConsentInfo>(ConsentInfo.DefaultFacetKey);

            return(modelBuilder.BuildModel());
        }
Ejemplo n.º 28
0
        private static XdbModel BuildModel()
        {
            var builder = new XdbModelBuilder("SUGCON2019Cortex.XConnect.Extension.Model", new XdbModelVersion(1, 5));

            builder.ReferenceModel(CollectionModel.Model);
            builder.DefineEventType <ProductPurchasedOutcome>(true);
            builder.DefineFacet <Contact, ProductRecommendationFacet>(ProductRecommendationFacet.DefaultFacetKey);

            return(builder.BuildModel());
        }
Ejemplo n.º 29
0
        private static XdbModel BuildModel()
        {
            var xdbModelBuilder = new XdbModelBuilder("ContactCustomModel", new XdbModelVersion(1, 0));

            xdbModelBuilder.DefineFacet <Contact, VolleyGroupFacet>(VolleyGroupFacet.DefaultFacetKey);

            xdbModelBuilder.ReferenceModel(CollectionModel.Model);

            return(xdbModelBuilder.BuildModel());
        }
Ejemplo n.º 30
0
        private static XdbModel InitModel()
        {
            var builder = new XdbModelBuilder("Movie", new XdbModelVersion(1, 0));

            builder.ReferenceModel(CollectionModel.Model);
            builder.DefineEventType <MovieRentedOutcome>(true);
            builder.DefineFacet <Contact, MovieRecommendationFacet>(MovieRecommendationFacet.DefaultFacetName);

            return(builder.BuildModel());
        }