//Copyright (c) Telerik.  All rights reserved.
// usage example:
//
// // Get ObjectScope
// IObjectScope scope = Database.Get("DatabaseConnection1").GetObjectScope();
// // Get a new FetchPlan object from class FetchPlans 
// scope.FetchPlan = FetchPlans.MyFirstFetchPlan; 
// // Add a new FetchGroup named as FetchGroup1 into the FetchPlan 
//  FetchPlans.MyFirstFetchPlan.Add("FetchGroup1");

using Telerik.OpenAccess;

namespace _1_Model
{
  /// <summary>
  /// This class holds user defined usecase specific FetchPlan instances
  /// </summary>
  /// <remarks>
  /// <para>
  /// This class can be used to store definitions of all FetchPlans used in the project.
  /// </para>
  /// <para>
  /// It is generated by the FetchPlan Browser and user can modify the FetchPlan definitions 
  /// (add/remove FetchGroups, edit MaxDepth, MaxObjectFetched etc) by editing the 
  /// corresponding member fields of this class. 
  /// </para>
  /// </remarks>

public class FetchPlans
{
  public static FetchPlan ContactFetchPlan =
    new FetchPlan(
    new string[] { "ContactFetch" },
    FetchPlan.DefaultMaxDepth,
    FetchPlan.NoLimit);
}
}




