示例#1
0
        public void RemoveServiceCallFromContainer <T>(T theContainer, ServiceCall WorkingServiceCall)
        {
            MethodInfo reflectionResult = theContainer.GetType().GetMethod("Remove");

            object [] reflectionParams = new object [] { WorkingServiceCall, null };

            if (reflectionResult != null)
            {
                reflectionResult.Invoke(theContainer, reflectionParams);
            }
        }
示例#2
0
 public void SaveServiceCall(ServiceCall WorkingServiceCall)
 {
     SaveItem <ServiceCall>(WorkingServiceCall, _db.ServiceCalls);
 }
示例#3
0
 public void RemoveServiceCall(ServiceCall WorkingServiceCall)
 {
     _db.ServiceCalls.Remove(WorkingServiceCall);
 }