Example #1
0
 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);
 }
Example #2
0
        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);
        }
Example #3
0
 public ValueNorm(uint ID, bool CanEdit = true) : base(G.ValueNorm, ID, CanEdit)
 {
     _resolution = new NavigationProperty.NavigationPropertryTyped <Resolution>(this.ID);
 }