Skip to content
Discussion options

You must be logged in to vote

I had the similar task.
Each task got additional columns UserId.

Server size

On server side when configuring columns those colums were excluded from sync.

            var types = typeof(Entity.SyncModelBase).Assembly.GetTypes()
                .Where(x => x.IsSubclassOf(typeof(Entity.SyncModelBase)) && x.GetTypeInfo().GetCustomAttribute<Entity.TableAttribute>() != null)
                .ToArray();
            var typesInfo = types.ToDictionary(
                x => x.GetTypeInfo().GetCustomAttribute<Entity.TableAttribute>()?.Name,
                x => x);
            var syncSetup = new SyncSetup(typesInfo.Keys);
            foreach (var info in typesInfo)
            {
                var 

Replies: 4 comments 23 replies

Comment options

You must be logged in to vote
5 replies
@Tuytje
Comment options

@Tuytje
Comment options

@vunder
Comment options

@Tuytje
Comment options

@vunder
Comment options

Answer selected by Tuytje
Comment options

You must be logged in to vote
4 replies
@Tuytje
Comment options

@vunder
Comment options

@needledrag
Comment options

@Tuytje
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@Tuytje
Comment options

@Mimetis
Comment options

@Tuytje
Comment options

@Mimetis
Comment options

@Tuytje
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #374 on December 13, 2020 13:14.