public ResolutionClarify(uint id) : base(G.ResolutionClarify, id, true) { _resolution = new NavigationProperty.NavigationPropertryTyped <Resolution>(ResolutionID); _valueNorm = new NavigationProperty.ListNavigationPropertyTyped <ValueNorm>(this, (model) => model.ResolutionClarifyID); _priceNorm = new NavigationProperty.ListNavigationPropertyTyped <PriceNorm>(this, (model) => model.ResolutionClarifyID); }
private void InitializeNavigations() { DeclarationValues = new NavigationProperty.ListNavigationPropertyTyped <DeclarationValue>(this, (model) => model.DeclarationID); DeclarationValues.OnAdd += (model) => model.Add(this); _well = new NavigationProperty.NavigationPropertryTyped <Well>(this.WellID); _well.OnAdd += (model) => model.Add(this); }
public ValueNorm(uint ID, bool CanEdit = true) : base(G.ValueNorm, ID, CanEdit) { _resolution = new NavigationProperty.NavigationPropertryTyped <Resolution>(this.ID); }