private Company(String name, String symbol, ConstituentOfIndex constituentOfIndex) { this.Id = Guid.NewGuid(); this.Name = name; this.Symbol = symbol; this.Index = constituentOfIndex; this.ExcludeYn = 0; }
public static Company Create(String name, String symbol, ConstituentOfIndex constituentOfIndex) { return new Company(name, symbol, constituentOfIndex); }