Exemplo n.º 1
0
        public static IRemoteResource CreateC4CTarget(string entityName, string entityID, IC4CQueryClient queryClient, string typeCode)
        {
            IC4CEntityMapper c4cEntityMapper = new C4CEntityMapper(entityName);

            C4CTarget c4cTarget = new C4CTarget(entityID, queryClient);

            c4cTarget.SetC4CEntityMapper(c4cEntityMapper);

            c4cTarget.TypeCode = typeCode;

            return(c4cTarget);
        }
Exemplo n.º 2
0
 public C4CTarget(string entityID, IC4CQueryClient queryClient)
 {
     this.entityID    = entityID;
     this.queryClient = queryClient;
 }
Exemplo n.º 3
0
 public static IRemoteResource CreateC4CTarget(string entityName, string entityID, IC4CQueryClient queryClient)
 {
     return(CreateC4CTarget(entityName, entityID, queryClient, "10001"));
 }