Example #1
0
 internal static void removeFkChainRoot(FKRoot root)
 {
     fkChainRoots.Remove(root.RootName);
 }
Example #2
0
 /// <summary>
 /// Try to get an FKRoot specified by name. Will return true and fill out root if
 /// the root is found. Will return false if the root is not found.
 /// </summary>
 /// <param name="name">The name of the root to find.</param>
 /// <param name="root">The variable to put the value of root into.</param>
 /// <returns>True if the root is found, false if it is not.</returns>
 public static bool tryGetFkChainRoot(String name, out FKRoot root)
 {
     return(fkChainRoots.TryGetValue(name, out root));
 }
Example #3
0
 internal static void addFkChainRoot(FKRoot root)
 {
     fkChainRoots.Add(root.RootName, root);
 }