Skip to content

Instantly share code, notes, and snippets.

@kouphax
Created September 29, 2010 13:25
Show Gist options
  • Save kouphax/602740 to your computer and use it in GitHub Desktop.
Save kouphax/602740 to your computer and use it in GitHub Desktop.
public static void Main(string[] args)
{
Model.PlacementList allPlacements = Model.PlacementList.GetAll();
foreach (Model.Placement p in allPlacements)
{
if (p.CanBeTacitRenewed())
{
Model.GripTPrincipal principal = GripTPrincipal.ForUserId(p.PlacementAST.GetPrimaryContact());
p.PerformTacitRenewal();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment