/// <summary> /// Create a new OfficerEntity object. /// </summary> /// <param name="name">Initial value of the Name property.</param> /// <param name="role">Initial value of the Role property.</param> /// <param name="id">Initial value of the ID property.</param> public static OfficerEntity CreateOfficerEntity(global::System.String name, global::System.String role, global::System.Guid id) { OfficerEntity officerEntity = new OfficerEntity(); officerEntity.Name = name; officerEntity.Role = role; officerEntity.ID = id; return(officerEntity); }
/// <summary> /// Deprecated Method for adding a new object to the OfficerEntities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfficerEntities(OfficerEntity officerEntity) { base.AddObject("OfficerEntities", officerEntity); }