public static Dictionary<String, EntityObjectStringType> GetUserObjectEntitiesFromObjectType(user_object userObject) { Dictionary<String, EntityObjectStringType> userEntities = new Dictionary<String, EntityObjectStringType>(); userEntities.Add("user", (EntityObjectStringType)userObject.User); return userEntities; }
public user_object NewObjectWithSet(user_object firstObject, user_object secondObject) { var newSetElement = new set() { Items = new object[] { firstObject, secondObject } }; return this.CreateUserObject(newSetElement); }