I am using a a simple coding to add record in table using Entity Framework i.e
Transaction t = new Transaction();
t.CustomerID = 1; 
t.Date = DateTime.Now; 
t.Balance = 400;
t.Total = 500;
t.Paid = 100;
db.Transactions.Add(t);
db.SaveChanges();
But after some entering some record the primary key is unexpectedly change

Please suggest me some suggestion Thanks.
Edited..
Table Detail
CREATE TABLE [hassan].[Transaction]
(
    [TransactionId] [int] IDENTITY(1,1) NOT NULL,
    [Date] [datetime] NULL,
    [TransactionType] [nvarchar](20) NULL,
    [TransactionTypeID] [int] NULL,
    [Total] [numeric](18, 0) NULL,
    [Paid] [numeric](18, 0) NULL,
    [Balance] [numeric](18, 0) NULL,
    [Note] [nvarchar](50) NULL,
    [CustomerID] [int] NULL,
    [UserID] [int] NULL,
    [BranchID] [int] NULL,
    [Referance] [nvarchar](20) NULL,
    [SupplierID] [int] NULL,
    CONSTRAINT [PK_Transaction_1] 
     PRIMARY KEY CLUSTERED ([TransactionId] ASC)
          WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
 
    