예제 #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);
        }
예제 #2
0
 public C4CTarget(string entityID, IC4CQueryClient queryClient)
 {
     this.entityID    = entityID;
     this.queryClient = queryClient;
 }
예제 #3
0
 public static IRemoteResource CreateC4CTarget(string entityName, string entityID, IC4CQueryClient queryClient)
 {
     return(CreateC4CTarget(entityName, entityID, queryClient, "10001"));
 }