internal static IEnumerable <IEdmOperation> GetAvailableProcedures(this IEdmModel model, IEdmEntityType entityType) { if (model == null) { throw Error.ArgumentNull("model"); } if (entityType == null) { throw Error.ArgumentNull("entityType"); } BindableProcedureFinder annotation = model.GetAnnotationValue <BindableProcedureFinder>(model); if (annotation == null) { annotation = new BindableProcedureFinder(model); model.SetAnnotationValue(model, annotation); } return(annotation.FindProcedures(entityType)); }
internal static IEnumerable<IEdmOperation> GetAvailableProcedures(this IEdmModel model, IEdmEntityType entityType) { if (model == null) { throw Error.ArgumentNull("model"); } if (entityType == null) { throw Error.ArgumentNull("entityType"); } BindableProcedureFinder annotation = model.GetAnnotationValue<BindableProcedureFinder>(model); if (annotation == null) { annotation = new BindableProcedureFinder(model); model.SetAnnotationValue(model, annotation); } return annotation.FindProcedures(entityType); }